public final class ContainerDefaultConfigurator extends ServerEndpointConfig.Configurator
| Constructor and Description |
|---|
ContainerDefaultConfigurator()
Default Constructor required, as
javax.websocket.server.ServerEndpointConfig$Configurator.fetchContainerDefaultConfigurator()
will be the one that instantiates this class in most cases.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOrigin(String originHeaderValue) |
<T> T |
getEndpointInstance(Class<T> endpointClass) |
List<Extension> |
getNegotiatedExtensions(List<Extension> installed,
List<Extension> requested) |
String |
getNegotiatedSubprotocol(List<String> supported,
List<String> requested) |
void |
modifyHandshake(ServerEndpointConfig sec,
HandshakeRequest request,
HandshakeResponse response) |
public ContainerDefaultConfigurator()
public boolean checkOrigin(String originHeaderValue)
checkOrigin in class ServerEndpointConfig.Configuratorpublic <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance in class ServerEndpointConfig.ConfiguratorInstantiationExceptionpublic List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested)
getNegotiatedExtensions in class ServerEndpointConfig.Configuratorpublic String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
getNegotiatedSubprotocol in class ServerEndpointConfig.Configuratorpublic void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response)
modifyHandshake in class ServerEndpointConfig.ConfiguratorCopyright © 1995-2016 Webtide. All Rights Reserved.