The constants of this
enumerated type
represent a type of proxy server. DIRECT indicates
a direct, nonproxied connection. HTTP represents a
proxy server that understands high-level protocols such as HTTP or
FTP. And SOCKS represents a low-level SOCKS proxy
server.
public enum
Proxy.Type {
// Enumerated Constants
DIRECT ,
HTTP ,
SOCKS ;
// Public Class Methods
public static Proxy.Type
valueOf (String
name );
public static final Proxy.Type[ ]
values ( );
}