ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.configurator(ClientEndpointConfig.Configurator clientEndpointConfigurator) |
Sets the configurator object for the configuration this builder will build.
|
static ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.create() |
Creates a new builder object with no subprotocols, extensions, encoders, decoders and a null
configurator.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.decoders(java.util.List<java.lang.Class<? extends Decoder>> decoders) |
Assign the list of decoder implementation classes the client will use.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.encoders(java.util.List<java.lang.Class<? extends Encoder>> encoders) |
Assign the list of encoder implementation classes the client will use.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.extensions(java.util.List<Extension> extensions) |
Set the extensions for the configuration this builder will build.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.preferredSubprotocols(java.util.List<java.lang.String> preferredSubprotocols) |
Set the preferred sub protocols for the configuration this builder will build.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.sslContext(javax.net.ssl.SSLContext sslContext) |
Assign the SSLContext to be used when connection to the WebSocket server.
|