Uses of Class
jakarta.websocket.server.ServerEndpointConfig.Builder
Package
Description
This package contains all the Jakarta WebSocket APIs used only by server side applications.
-
Uses of ServerEndpointConfig.Builder in jakarta.websocket.server
Modifier and TypeMethodDescriptionServerEndpointConfig.Builder.configurator
(ServerEndpointConfig.Configurator serverEndpointConfigurator) Sets the custom configurator to use on the configuration object built by this builder.static ServerEndpointConfig.Builder
Creates the builder with the mandatory information of the endpoint class (programmatic or annotated), the relative URI or URI-template to use, and with no subprotocols, extensions, encoders, decoders or custom configurator.Sets the decoder implementation classes to use in the configuration.Sets the list of encoder implementation classes for this builder.ServerEndpointConfig.Builder.extensions
(List<Extension> extensions) Sets the extensions to use in the configuration.ServerEndpointConfig.Builder.subprotocols
(List<String> subprotocols) Sets the subprotocols to use in the configuration.