English | Site Directory

Android - An Open Handset Alliance Project

java.net
public static final enum

java.net.Proxy.Type

java.lang.Object
java.lang.Enum Serializable Comparable
java.net.Proxy.Type

The proxy type, includes DIRECT, HTTP and SOCKS.

Summary

Enum Values

Type  DIRECT  Direct connection. 
Type  HTTP  HTTP type proxy. 
Type  SOCKS  SOCKS type proxy. 

Public Methods

      static  Type  valueOf(String name)
    final  static  Type[]  values()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final Type DIRECT

Direct connection. Connect without any proxy.

public static final Type HTTP

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

public static final Type SOCKS

SOCKS type proxy.

Public Methods

public static Type valueOf(String name)

public static final Type[] values()

Build m5-rc15i - 10 Jun 2008 13:54