Proxy.Type


Proxy.Type java.net

Java 5.0 serializable comparable enum

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



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net