Uses of Class
jakarta.websocket.server.ServerEndpointConfig.Builder
-
-
Uses of ServerEndpointConfig.Builder in jakarta.websocket.server
Methods in jakarta.websocket.server that return ServerEndpointConfig.Builder Modifier and Type Method Description ServerEndpointConfig.Builder
ServerEndpointConfig.Builder. configurator(ServerEndpointConfig.Configurator serverEndpointConfigurator)
Sets the custom configurator to use on the configuration object built by this builder.static ServerEndpointConfig.Builder
ServerEndpointConfig.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.Builder
ServerEndpointConfig.Builder. decoders(java.util.List<java.lang.Class<? extends jakarta.websocket.Decoder>> decoders)
Sets the decoder implementation classes to use in the configuration.ServerEndpointConfig.Builder
ServerEndpointConfig.Builder. encoders(java.util.List<java.lang.Class<? extends jakarta.websocket.Encoder>> encoders)
Sets the list of encoder implementation classes for this builder.ServerEndpointConfig.Builder
ServerEndpointConfig.Builder. extensions(java.util.List<jakarta.websocket.Extension> extensions)
Sets the extensions to use in the configuration.ServerEndpointConfig.Builder
ServerEndpointConfig.Builder. subprotocols(java.util.List<java.lang.String> subprotocols)
Sets the subprotocols to use in the configuration.
-