Uses of Interface
jakarta.websocket.server.ServerEndpointConfig
Packages that use ServerEndpointConfig
Package
Description
This package contains all the Jakarta WebSocket APIs used only by server side applications.
-
Uses of ServerEndpointConfig in jakarta.websocket.server
Methods in jakarta.websocket.server that return ServerEndpointConfigModifier and TypeMethodDescriptionServerEndpointConfig.Builder.build()
Builds the configuration object using the current attributes that have been set on this builder object.Methods in jakarta.websocket.server that return types with arguments of type ServerEndpointConfigModifier and TypeMethodDescriptionServerApplicationConfig.getEndpointConfigs
(Set<Class<? extends Endpoint>> endpointClasses) Return a set of ServerEndpointConfig instances that the server container will use to deploy the programmatic endpoints.Methods in jakarta.websocket.server with parameters of type ServerEndpointConfigModifier and TypeMethodDescriptionvoid
ServerContainer.addEndpoint
(ServerEndpointConfig serverConfig) Deploys the given endpoint described by the provided configuration into this ServerContainer.void
ServerEndpointConfig.Configurator.modifyHandshake
(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) Called by the container after it has formulated a handshake response resulting from a well-formed handshake request.void
ServerContainer.upgradeHttpToWebSocket
(Object httpServletRequest, Object httpServletResponse, ServerEndpointConfig sec, Map<String, String> pathParameters) Upgrade the HTTP connection represented by theHttpServletRequest
andHttpServletResponse
to the WebSocket protocol and establish a WebSocket connection as per the providedServerEndpointConfig
.