Android APIs
public static final enum

Proxy.Type

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

Class Overview

Enum class for the proxy type. Possible options are DIRECT, HTTP and SOCKS.

Summary

Enum Values
Proxy.Type  DIRECT  Direct connection. 
Proxy.Type  HTTP  HTTP type proxy. 
Proxy.Type  SOCKS  SOCKS type proxy. 
Public Methods
static Proxy.Type valueOf(String name)
final static Type[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Proxy.Type DIRECT

Added in API level 1

Direct connection. Connect without any proxy.

public static final Proxy.Type HTTP

Added in API level 1

HTTP type proxy. It's often used by protocol handlers such as HTTP, HTTPS and FTP.

public static final Proxy.Type SOCKS

Added in API level 1

SOCKS type proxy.

Public Methods

public static Proxy.Type valueOf (String name)

Added in API level 1

Parameters
name String
Returns
Proxy.Type

public static final Type[] values ()

Added in API level 1

Returns
Type[]