public static final enum

Proxy.Type

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ 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

Since: API Level

Direct connection. Connect without any proxy.

public static final Proxy.Type HTTP

Since: API Level

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

public static final Proxy.Type SOCKS

Since: API Level

SOCKS type proxy.

Public Methods

public static Proxy.Type valueOf (String name)

Since: API Level 1

public static final Type[] values ()

Since: API Level 1