Name
Proxy.Type
Synopsis
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( ); }
Passed To
java.net.Proxy.Proxy( )
Returned By
java.net.Proxy.type( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.