Uses of Interface
jakarta.websocket.server.ServerEndpointConfig
Package
Description
This package contains all the Jakarta WebSocket APIs used only by server side applications.
-
Uses of ServerEndpointConfig in jakarta.websocket.server
Modifier and TypeMethodDescriptionServerEndpointConfig.Builder.build()
Builds the configuration object using the current attributes that have been set on this builder object.Modifier 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.Modifier 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
.