Uses of Class
javax.websocket.server.ServerEndpointConfig.Builder
| Package | Description |
|---|---|
| javax.websocket.server |
This package contains all the Jakarta WebSocket APIs used only by server side applications.
|
-
Uses of ServerEndpointConfig.Builder in javax.websocket.server
Methods in javax.websocket.server that return ServerEndpointConfig.Builder Modifier and Type Method Description ServerEndpointConfig.BuilderServerEndpointConfig.Builder. configurator(ServerEndpointConfig.Configurator serverEndpointConfigurator)Sets the custom configurator to use on the configuration object built by this builder.static ServerEndpointConfig.BuilderServerEndpointConfig.Builder. create(java.lang.Class<?> endpointClass, java.lang.String path)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.ServerEndpointConfig.BuilderServerEndpointConfig.Builder. decoders(java.util.List<java.lang.Class<? extends Decoder>> decoders)Sets the decoder implementation classes to use in the configuration.ServerEndpointConfig.BuilderServerEndpointConfig.Builder. encoders(java.util.List<java.lang.Class<? extends Encoder>> encoders)Sets the list of encoder implementation classes for this builder.ServerEndpointConfig.BuilderServerEndpointConfig.Builder. extensions(java.util.List<Extension> extensions)Sets the extensions to use in the configuration.ServerEndpointConfig.BuilderServerEndpointConfig.Builder. subprotocols(java.util.List<java.lang.String> subprotocols)Sets the subprotocols to use in the configuration.