to top
Android APIs
public static final enum


extends Enum<E extends Enum<E>>
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>

Class Overview

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


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()
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

public static final Type[] values ()

Added in API level 1