Uses of Interface
jakarta.websocket.server.ServerEndpointConfig
Package
Description
This package contains all the Jakarta WebSocket APIs used only by server side applications.
Core classes.
Server implementation.
Tyrus SPI.
-
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
. -
Uses of ServerEndpointConfig in org.glassfish.tyrus.core
Modifier and TypeInterfaceDescriptioninterface
ConfigurationServerEndpointConfig
enhanced to offer tyrus specific attributes like maxSessions.Modifier and TypeClassDescriptionclass
A public class that holds a wrapped ServerEndpointConfig.Modifier and TypeFieldDescriptionprotected final ServerEndpointConfig
ServerEndpointConfigWrapper.wrapped
Modifier and TypeMethodDescriptionServerEndpointConfigWrapper.getWrapped()
Get the wrappedServerEndpointConfig
.Modifier and TypeMethodDescriptionvoid
TyrusServerEndpointConfigurator.modifyHandshake
(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) void
TyrusWebSocketEngine.register
(ServerEndpointConfig serverConfig, String contextPath) -
Uses of ServerEndpointConfig in org.glassfish.tyrus.server
Modifier and TypeMethodDescriptionTyrusServerConfiguration.getEndpointConfigs
(Set<Class<? extends Endpoint>> scanned) Gets all theServerEndpointConfig
classes which should be deployed.Modifier and TypeMethodDescriptionvoid
TyrusServerContainer.addEndpoint
(ServerEndpointConfig serverEndpointConfig) abstract void
TyrusServerContainer.register
(ServerEndpointConfig serverEndpointConfig) void
TyrusServerContainer.upgradeHttpToWebSocket
(Object httpServletRequest, Object httpServletResponse, ServerEndpointConfig sec, Map<String, String> pathParameters) -
Uses of ServerEndpointConfig in org.glassfish.tyrus.spi
Modifier and TypeMethodDescriptionvoid
WebSocketEngine.register
(ServerEndpointConfig serverConfig, String contextPath) RegisterServerEndpointConfig
.