com.ning.http.client
Class ProxyServer

java.lang.Object
  extended by com.ning.http.client.ProxyServer

public class ProxyServer
extends Object

Represents a proxy server.


Nested Class Summary
static class ProxyServer.Protocol
           
 
Constructor Summary
ProxyServer(ProxyServer.Protocol protocol, String host, int port)
           
ProxyServer(ProxyServer.Protocol protocol, String host, int port, String principal, String password)
           
ProxyServer(String host, int port)
           
ProxyServer(String host, int port, String principal, String password)
           
 
Method Summary
 ProxyServer addNonProxyHost(String uri)
           
 String getEncoding()
           
 String getHost()
           
 List<String> getNonProxyHosts()
           
 String getNtlmDomain()
           
 String getPassword()
           
 int getPort()
           
 String getPrincipal()
           
 ProxyServer.Protocol getProtocol()
           
 String getProtocolAsString()
           
 URI getURI()
           
 ProxyServer removeNonProxyHost(String uri)
           
 ProxyServer setEncoding(String encoding)
           
 ProxyServer setNtlmDomain(String ntlmDomain)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyServer

public ProxyServer(ProxyServer.Protocol protocol,
                   String host,
                   int port,
                   String principal,
                   String password)

ProxyServer

public ProxyServer(String host,
                   int port,
                   String principal,
                   String password)

ProxyServer

public ProxyServer(ProxyServer.Protocol protocol,
                   String host,
                   int port)

ProxyServer

public ProxyServer(String host,
                   int port)
Method Detail

getProtocol

public ProxyServer.Protocol getProtocol()

getProtocolAsString

public String getProtocolAsString()

getHost

public String getHost()

getPort

public int getPort()

getPrincipal

public String getPrincipal()

getPassword

public String getPassword()

getURI

public URI getURI()

setEncoding

public ProxyServer setEncoding(String encoding)

getEncoding

public String getEncoding()

addNonProxyHost

public ProxyServer addNonProxyHost(String uri)

removeNonProxyHost

public ProxyServer removeNonProxyHost(String uri)

getNonProxyHosts

public List<String> getNonProxyHosts()

setNtlmDomain

public ProxyServer setNtlmDomain(String ntlmDomain)

getNtlmDomain

public String getNtlmDomain()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.