Package jakarta.websocket.server
Class ServerEndpointConfig.Configurator
java.lang.Object
jakarta.websocket.server.ServerEndpointConfig.Configurator
- Enclosing interface:
ServerEndpointConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkOrigin
(String originHeaderValue) Return the platform default configurator.<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)
-
Constructor Details
-
Configurator
public Configurator()
-
-
Method Details
-
getContainerDefaultConfigurator
Return the platform default configurator.- Returns:
- the platform default configurator
- Since:
- WebSocket 2.1
-
getNegotiatedSubprotocol
-
getNegotiatedExtensions
-
checkOrigin
-
modifyHandshake
public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) -
getEndpointInstance
- Throws:
InstantiationException
-