added in API level 1

Proxy.Type

public static final enum Proxy.Type
extends Enum<Proxy.Type>

java.lang.Object
   ↳ java.lang.Enum<java.net.Proxy.Type>
     ↳ java.net.Proxy.Type


Represents the proxy type.

Summary

Enum values

Proxy.Type  DIRECT

Represents a direct connection, or the absence of a proxy. 

Proxy.Type  HTTP

Represents proxy for high level protocols such as HTTP or FTP. 

Proxy.Type  SOCKS

Represents a SOCKS (V4 or V5) proxy. 

Public methods

static Proxy.Type valueOf(String name)
static final Type[] values()

Inherited methods

Enum values

DIRECT

added in API level 1
Proxy.Type DIRECT

Represents a direct connection, or the absence of a proxy.

HTTP

added in API level 1
Proxy.Type HTTP

Represents proxy for high level protocols such as HTTP or FTP.

SOCKS

added in API level 1
Proxy.Type SOCKS

Represents a SOCKS (V4 or V5) proxy.

Public methods

valueOf

added in API level 1
Proxy.Type valueOf (String name)

Parameters
name String

Returns
Proxy.Type

values

added in API level 1
Type[] values ()

Returns
Type[]