com.ning.http.client
Class ProxyServer
java.lang.Object
com.ning.http.client.ProxyServer
public class ProxyServer
- extends Object
Represents a proxy server.
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)
|
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)
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()
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 © 2011. All Rights Reserved.