| Modifier and Type | Class and Description |
|---|---|
| private static interface | ClientManager.
A listener listening for events that indicate when a client has started to be active and when it stopped to be active. |
| private static interface | |
| public static class | ClientManager.
Reconnect handler. |
| private static class | |
| private static class | ClientManager.
Executor service which just executes provided |
| Modifier and Type | Field and Description |
|---|---|
| private final ClientManager. | |
| private final ComponentProviderService | |
| private final ClientContainer | |
| private static final String | CONTAINER_PROVIDER_CLASSNAME
Default |
| private volatile long | |
| private volatile long | |
| public static final String | HANDSHAKE_TIMEOUT
Deprecated
please use Property usable in org..
getProperties().
|
| private static final Logger | |
| private volatile int | |
| private volatile int | |
| private final Map | |
| public static final String | PROXY_HEADERS
Deprecated
please use Client-side user property to set additional proxy headers.
org..
|
| public static final String | PROXY_URI
Deprecated
please use Client-side user property to set proxy URI.
org..
|
| public static final String | RECONNECT_HANDLER
Deprecated
please use Property usable in org..
getProperties().
|
| public static final String | SSL_ENGINE_CONFIGURATOR
Deprecated
please use Property usable in org..
getProperties() as a key for SSL configuration.
|
| private final WebSocketContainer | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Future | Returns: Future for the Session created if the connection is successful.the annotated websocket client endpoint. annotatedEndpointClass, URI the complete path to the server endpoint. path)Non-blocking version of |
| public Future | Returns: the Session created if the connection is successful.the programmatic client endpoint class endpointClass, ClientEndpointConfig Endpoint.the configuration used to configure the programmatic endpoint. cec, URI the complete path to the server endpoint. path)Non-blocking version of |
| public Future | Returns: the Session created if the connection is successful.the programmatic client endpoint instance endpointInstance, ClientEndpointConfig Endpoint.the configuration used to configure the programmatic endpoint. cec, URI the complete path to the server endpoint. path)Non-blocking version of |
| public Future | Returns: the Session created if the connection is successful.the annotated websocket client endpoint instance. obj, URI the complete path to the server endpoint. path)Non-blocking version of |
| public Session | connectToServer(final Class<T>
the annotated websocket client endpoint. annotatedEndpointClass, final URI the complete path to the server endpoint. path)Implements jakarta. Connect the supplied annotated endpoint to its server. |
| public Session | connectToServer(final Class<? extends Endpoint>
the programmatic client endpoint class endpointClass, final ClientEndpointConfig Endpoint.the configuration used to configure the programmatic endpoint. cec, final URI the complete path to the server endpoint. path)Implements jakarta. Connect the supplied programmatic endpoint to its server with the given configuration. |
| public Session | connectToServer(final Endpoint
the programmatic client endpoint instance endpointInstance, final ClientEndpointConfig Endpoint.the configuration used to configure the programmatic endpoint. cec, final URI the complete path to the server endpoint. path)Implements jakarta. Connect the supplied programmatic client endpoint instance to its server with the given configuration. |
| public Session | connectToServer(final Object
the annotated websocket client endpoint instance. obj, final URI the complete path to the server endpoint. path)Implements jakarta. Connect the supplied annotated endpoint instance to its server. |
| pack-priv Future | Returns: Future which will returnSession instance when available.the endpoint. o, final ClientEndpointConfig of the endpoint. configuration, final String to which the client will connect. url, boolean if synchronous)true connect will be executed synchronously, if false connect will be
executed asynchronously.Connects client endpoint o to the specified url. |
| public static ClientManager | |
| public static ClientManager | Returns: created client manager.websocket container. webSocketContainer)Create new ClientManager instance on top of provided |
| public static ClientManager | Returns: new ClientManager instance.classname of container provider. It will be loaded using context class loader. containerProviderClassName)Create new ClientManager instance. |
| public static ClientManager | Returns: new ClientManager instance.classname of container provider. It will be loaded using context class loader. containerProviderClassName, WebSocketContainer websocket container. webSocketContainer)Create new ClientManager instance on top of provided |
| public long | getDefaultAsyncSendTimeout()
Implements jakarta. Return the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container. |
| public int | getDefaultMaxBinaryMessageBufferSize()
Implements jakarta. Returns the default maximum size of incoming binary message that this container will buffer. |
| public long | getDefaultMaxSessionIdleTimeout()
Implements jakarta. Return the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive. |
| public int | getDefaultMaxTextMessageBufferSize()
Implements jakarta. Returns the default maximum size of incoming text message that this container will buffer. |
| private int | |
| public Set | getInstalledExtensions()
Implements jakarta. Return the set of Extensions installed in the container. |
| public Map | |
| public void | setAsyncSendTimeout(long
the timeout in milliseconds; use zero or negative value for no timeout timeoutmillis)Implements jakarta. Sets the number of milliseconds the implementation will timeout attempting to send a websocket message for all RemoteEndpoints associated with this container. |
| public void | setDefaultMaxBinaryMessageBufferSize(int
the maximum size of binary message in number of bytes. i)Implements jakarta. Sets the default maximum size of incoming binary message that this container will buffer. |
| public void | setDefaultMaxSessionIdleTimeout(long
the maximum time in milliseconds; use zero or negative value for no timeout defaultMaxSessionIdleTimeout)Implements jakarta. Sets the default time in milliseconds after which any web socket sessions in this container will be closed if it has been inactive. |
| public void | setDefaultMaxTextMessageBufferSize(int
the maximum size of text message in number of bytes. i)Implements jakarta. Sets the maximum size of incoming text message that this container will buffer. |
| private Session |