Class DefaultServerEndpointConfigurator
java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
org.apache.tomcat.websocket.server.DefaultServerEndpointConfigurator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkOrigin
(String originHeaderValue) <T> T
getEndpointInstance
(Class<T> clazz) getNegotiatedExtensions
(List<Extension> installed, List<Extension> requested) getNegotiatedSubprotocol
(List<String> supported, List<String> requested) void
modifyHandshake
(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) Methods inherited from class jakarta.websocket.server.ServerEndpointConfig.Configurator
getContainerDefaultConfigurator
-
Constructor Details
-
DefaultServerEndpointConfigurator
public DefaultServerEndpointConfigurator()
-
-
Method Details
-
getEndpointInstance
- Overrides:
getEndpointInstance
in classServerEndpointConfig.Configurator
- Throws:
InstantiationException
-
getNegotiatedSubprotocol
- Overrides:
getNegotiatedSubprotocol
in classServerEndpointConfig.Configurator
-
getNegotiatedExtensions
public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested) - Overrides:
getNegotiatedExtensions
in classServerEndpointConfig.Configurator
-
checkOrigin
- Overrides:
checkOrigin
in classServerEndpointConfig.Configurator
-
modifyHandshake
public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) - Overrides:
modifyHandshake
in classServerEndpointConfig.Configurator
-