Modifier and Type | Method and Description |
---|---|
ProxySettings |
ProxySettings.addHeader(String name,
String value)
Add an additional HTTP header passed to the proxy server.
|
ProxySettings |
WebSocketFactory.getProxySettings()
Get the proxy settings.
|
ProxySettings |
ProxySettings.reset()
Reset the proxy settings.
|
ProxySettings |
ProxySettings.setCredentials(String id,
String password)
Set credentials for authentication at the proxy server.
|
ProxySettings |
ProxySettings.setHost(String host)
Set the host name of the proxy server.
|
ProxySettings |
ProxySettings.setId(String id)
Set the ID for authentication at the proxy server.
|
ProxySettings |
ProxySettings.setPassword(String password)
Set the password for authentication at the proxy server.
|
ProxySettings |
ProxySettings.setPort(int port)
Set the port number of the proxy server.
|
ProxySettings |
ProxySettings.setSecure(boolean secure)
Enable or disable use of TLS.
|
ProxySettings |
ProxySettings.setServer(String uri)
Set the proxy server by a URI.
|
ProxySettings |
ProxySettings.setServer(URI uri)
Set the proxy server by a URI.
|
ProxySettings |
ProxySettings.setServer(URL url)
Set the proxy server by a URL.
|
ProxySettings |
ProxySettings.setServerName(String serverName)
Set a server name for SNI (Server Name Indication).
|
ProxySettings |
ProxySettings.setServerNames(String[] serverNames)
Set server names for SNI (Server Name Indication).
|
ProxySettings |
ProxySettings.setSocketFactory(SocketFactory factory)
Set a socket factory.
|
ProxySettings |
ProxySettings.setSSLContext(SSLContext context)
Set an SSL context to get a socket factory.
|
ProxySettings |
ProxySettings.setSSLSocketFactory(SSLSocketFactory factory)
Set an SSL socket factory.
|
Copyright © 2021. All rights reserved.