Example usage for Java javax.websocket WebSocketContainer fields, constructors, methods, implement or subclass
The text is from its open source code.
Session | connectToServer(Object endpoint, URI path) |
Session | connectToServer(Class> annotatedEndpointClass, URI path) |
Session | connectToServer(Endpoint endpoint, ClientEndpointConfig clientEndpointConfiguration, URI path) Creates a new connection to the WebSocket. |
Session | connectToServer(Class extends Endpoint> endpoint, ClientEndpointConfig clientEndpointConfiguration, URI path) Creates a new connection to the WebSocket. |
Set | getInstalledExtensions() Get the installed extensions. |
void | setAsyncSendTimeout(long timeout) Set the default timeout for sending a message asynchronously. |
void | setDefaultMaxSessionIdleTimeout(long timeout) Set the default session idle timeout. |