public class ProxyServer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ProxyServer.Protocol |
Constructor and Description |
---|
ProxyServer(ProxyServer.Protocol protocol,
String host,
int port) |
ProxyServer(ProxyServer.Protocol protocol,
String host,
int port,
int securedPort,
String principal,
String password) |
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) |
Modifier and Type | Method and Description |
---|---|
ProxyServer |
addNonProxyHost(String uri) |
Charset |
getCharset() |
String |
getHost() |
List<String> |
getNonProxyHosts() |
String |
getPassword() |
int |
getPort() |
String |
getPrincipal() |
ProxyServer.Protocol |
getProtocol() |
Realm.AuthScheme |
getScheme() |
int |
getSecuredPort() |
boolean |
isForceHttp10() |
Realm.RealmBuilder |
realmBuilder() |
ProxyServer |
removeNonProxyHost(String uri) |
ProxyServer |
setCharset(Charset charset) |
void |
setForceHttp10(boolean forceHttp10) |
ProxyServer |
setNtlmDomain(String ntlmDomain) |
void |
setNtlmHost(String ntlmHost) |
void |
setScheme(Realm.AuthScheme scheme) |
public ProxyServer(ProxyServer.Protocol protocol, String host, int port, int securedPort, String principal, String password)
public ProxyServer(ProxyServer.Protocol protocol, String host, int port, String principal, String password)
public ProxyServer(ProxyServer.Protocol protocol, String host, int port)
public ProxyServer(String host, int port)
public Realm.RealmBuilder realmBuilder()
public ProxyServer.Protocol getProtocol()
public String getHost()
public int getPort()
public int getSecuredPort()
public String getPrincipal()
public String getPassword()
public ProxyServer setCharset(Charset charset)
public Charset getCharset()
public ProxyServer addNonProxyHost(String uri)
public ProxyServer removeNonProxyHost(String uri)
public ProxyServer setNtlmDomain(String ntlmDomain)
public Realm.AuthScheme getScheme()
public void setScheme(Realm.AuthScheme scheme)
public void setNtlmHost(String ntlmHost)
public boolean isForceHttp10()
public void setForceHttp10(boolean forceHttp10)
Copyright © 2015. All Rights Reserved.