Modifier and Type | Method and Description |
---|---|
WebSocketFactory |
ProxySettings.getWebSocketFactory()
Get the associated
WebSocketFactory instance. |
WebSocketFactory |
WebSocketFactory.setConnectionTimeout(int timeout)
Set the timeout value in milliseconds for socket connection.
|
WebSocketFactory |
WebSocketFactory.setDualStackFallbackDelay(int delay)
Set the dual stack fallback delay in milliseconds that will be applied
when establishing a socket connection.
|
WebSocketFactory |
WebSocketFactory.setDualStackMode(DualStackMode mode)
Set the dual stack mode that will be applied when establishing a socket
connection.
|
WebSocketFactory |
WebSocketFactory.setServerName(String serverName)
Set a server name for SNI (Server Name Indication).
|
WebSocketFactory |
WebSocketFactory.setServerNames(String[] serverNames)
Set server names for SNI (Server Name Indication).
|
WebSocketFactory |
WebSocketFactory.setSocketFactory(SocketFactory factory)
Set a socket factory.
|
WebSocketFactory |
WebSocketFactory.setSocketTimeout(int timeout)
Set the timeout value in milliseconds for socket read and write operations.
|
WebSocketFactory |
WebSocketFactory.setSSLContext(SSLContext context)
Set an SSL context to get a socket factory.
|
WebSocketFactory |
WebSocketFactory.setSSLSocketFactory(SSLSocketFactory factory)
Set an SSL socket factory.
|
WebSocketFactory |
WebSocketFactory.setVerifyHostname(boolean verifyHostname)
Set the flag which indicates whether the hostname in the
server's certificate should be verified or not.
|
Constructor and Description |
---|
WebSocketFactory(WebSocketFactory other)
Copy constructor.
|
Copyright © 2021. All rights reserved.