Uses of Class
jakarta.websocket.ClientEndpointConfig.Builder
Package
Description
This package contains all the Jakarta WebSocket APIs common to both the client and server side.
-
Uses of ClientEndpointConfig.Builder in jakarta.websocket
Modifier and TypeMethodDescriptionClientEndpointConfig.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 anull
configurator.Assign the list of decoder implementation classes the client will use.Assign the list of encoder implementation classes the client will use.ClientEndpointConfig.Builder.extensions
(List<Extension> extensions) Set the extensions for the configuration this builder will build.ClientEndpointConfig.Builder.preferredSubprotocols
(List<String> preferredSubprotocols) Set the preferred sub protocols for the configuration this builder will build.ClientEndpointConfig.Builder.sslContext
(SSLContext sslContext) Assign the SSLContext to be used when connection to the WebSocket server.