Uses of Class
com.neovisionaries.ws.client.WebSocketFactory
-
Uses of WebSocketFactory in com.neovisionaries.ws.client
Methods in com.neovisionaries.ws.client that return WebSocketFactoryModifier and TypeMethodDescriptionProxySettings.getWebSocketFactory()Get the associatedWebSocketFactoryinstance.WebSocketFactory.setConnectionTimeout(int timeout) Set the timeout value in milliseconds for socket connection.WebSocketFactory.setDualStackFallbackDelay(int delay) Set the dual stack fallback delay in milliseconds that will be applied when establishing a socket connection.WebSocketFactory.setDualStackMode(DualStackMode mode) Set the dual stack mode that will be applied when establishing a socket connection.WebSocketFactory.setServerName(String serverName) Set a server name for SNI (Server Name Indication).WebSocketFactory.setServerNames(String[] serverNames) Set server names for SNI (Server Name Indication).WebSocketFactory.setSocketFactory(SocketFactory factory) Set a socket factory.WebSocketFactory.setSocketTimeout(int timeout) Set the timeout value in milliseconds for socket read and write operations.WebSocketFactory.setSSLContext(SSLContext context) Set an SSL context to get a socket factory.WebSocketFactory.setSSLSocketFactory(SSLSocketFactory factory) Set an SSL socket factory.WebSocketFactory.setVerifyHostname(boolean verifyHostname) Set the flag which indicates whether the hostname in the server's certificate should be verified or not.Constructors in com.neovisionaries.ws.client with parameters of type WebSocketFactory