Package javax.websocket.server
Class ServerEndpointConfig.Configurator
java.lang.Object
javax.websocket.server.ServerEndpointConfig.Configurator
- Enclosing interface:
- ServerEndpointConfig
-
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)
-
Constructor Details
-
Configurator
public Configurator()
-
-
Method Details
-
getNegotiatedSubprotocol
-
getNegotiatedExtensions
-
checkOrigin
-
modifyHandshake
public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response) -
getEndpointInstance
- Throws:
InstantiationException
-