| Modifier and Type | Field and Description |
|---|---|
| private ClientEndpointConfig |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ClientEndpointConfig. | getConfigurator()
Implements jakarta. Return the custom configurator for this configuration. |
| public List | getExtensions()
Implements jakarta. Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions. |
| public List | getPreferredSubprotocols()
Implements jakarta. Return the ordered list of sub protocols a client endpoint would like to use, in order of preference, favorite first that this client would like to use for its sessions. |
| public SSLContext | getSSLContext()
Implements jakarta. Return the SSLContext to be used to establish a WebSocket (wss) connection to the server. |
| public void |
| _endpointConfig | back to summary |
|---|---|
| private ClientEndpointConfig _endpointConfig Hides org. | |
| ClientEndpointConfigWrapper | back to summary |
|---|---|
| public ClientEndpointConfigWrapper() | |
| ClientEndpointConfigWrapper | back to summary |
|---|---|
| public ClientEndpointConfigWrapper(ClientEndpointConfig endpointConfig) | |
| getConfigurator | back to summary |
|---|---|
| public ClientEndpointConfig. Implements jakarta. Doc from jakarta. Return the custom configurator for this configuration. If the developer did not provide one, the platform default configurator is returned.
| |
| getExtensions | back to summary |
|---|---|
| public List Implements jakarta. Doc from jakarta. Return the extensions, in order of preference, favorite first, that this client would like to use for its sessions. These are the extensions that will be used to populate the Sec-WebSocket-Extensions header in the opening handshake for clients using this configuration. The first extension in the list is the most preferred extension. See Negotiating Extensions. | |
| getPreferredSubprotocols | back to summary |
|---|---|
| public List Implements jakarta. Doc from jakarta. Return the ordered list of sub protocols a client endpoint would like to use, in order of preference, favorite first that this client would like to use for its sessions. This list is used to generate the Sec-WebSocket-Protocol header in the opening handshake for clients using this configuration. The first protocol name is the most preferred. See Client Opening Handshake. | |
| getSSLContext | back to summary |
|---|---|
| public SSLContext getSSLContext() Implements jakarta. Doc from jakarta. Return the SSLContext to be used to establish a WebSocket (wss) connection to the server. The SSLContext will
have initialised. For insecure WebSocket (ws) connections, this will be
| |
| init | back to summary |
|---|---|
| public void init(ClientEndpointConfig endpointConfig) | |