Package com.ning.http.client
Class ProxyServer
java.lang.Object
com.ning.http.client.ProxyServer
Represents a proxy server.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProxyServer(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
Modifier and TypeMethodDescriptionaddNonProxyHost(String uri) getHost()intgetPort()getUrl()booleanremoveNonProxyHost(String uri) setCharset(Charset charset) voidsetForceHttp10(boolean forceHttp10) setNtlmDomain(String ntlmDomain) voidsetNtlmHost(String ntlmHost) voidsetScheme(Realm.AuthScheme scheme) toString()
-
Constructor Details
-
ProxyServer
public ProxyServer(ProxyServer.Protocol protocol, String host, int port, String principal, String password) -
ProxyServer
-
ProxyServer
-
ProxyServer
-
-
Method Details
-
realmBuilder
-
getProtocol
-
getHost
-
getPort
public int getPort() -
getPrincipal
-
getPassword
-
setCharset
-
getCharset
-
addNonProxyHost
-
removeNonProxyHost
-
getNonProxyHosts
-
setNtlmDomain
-
getNtlmDomain
-
getScheme
-
setScheme
-
getNtlmHost
-
setNtlmHost
-
getUrl
-
isForceHttp10
public boolean isForceHttp10() -
setForceHttp10
public void setForceHttp10(boolean forceHttp10) -
toString
-