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(List<Class<? extends Decoder>> decoders) |
Assign the list of decoder implementation classes the client will use.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.encoders(List<Class<? extends Encoder>> encoders) |
Assign the list of encoder implementation classes the client will use.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.extensions(List<Extension> extensions) |
Set the extensions for the configuration this builder will build.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.preferredSubprotocols(List<String> preferredSubprotocols) |
Set the preferred sub protocols for the configuration this builder will build.
|
ClientEndpointConfig.Builder |
ClientEndpointConfig.Builder.sslContext(SSLContext sslContext) |
Assign the SSLContext to be used when connection to the WebSocket server.
|