Package | Description |
---|---|
javax.websocket |
This package contains all the WebSocket APIs common to both the client
and server side.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.