Uses of Interface
jakarta.websocket.server.ServerEndpointConfig
-
Packages that use ServerEndpointConfig Package Description jakarta.websocket.server This package contains all the Jakarta WebSocket APIs used only by server side applications. -
-
Uses of ServerEndpointConfig in jakarta.websocket.server
Classes in jakarta.websocket.server that implement ServerEndpointConfig Modifier and Type Class Description (package private) class
DefaultServerEndpointConfig
The DefaultServerEndpointConfig is a concrete class that embodies all the configuration parameters for an endpoint that is to be published as a server endpoint.Methods in jakarta.websocket.server that return ServerEndpointConfig Modifier and Type Method Description ServerEndpointConfig
ServerEndpointConfig.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 ServerEndpointConfig Modifier and Type Method Description java.util.Set<ServerEndpointConfig>
ServerApplicationConfig. getEndpointConfigs(java.util.Set<java.lang.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 ServerEndpointConfig Modifier and Type Method Description void
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(java.lang.Object httpServletRequest, java.lang.Object httpServletResponse, ServerEndpointConfig sec, java.util.Map<java.lang.String,java.lang.String> pathParameters)
Upgrade the HTTP connection represented by theHttpServletRequest
andHttpServletResponse
to the WebSocket protocol and establish a WebSocket connection as per the providedServerEndpointConfig
.
-