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.Configurator
public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance
in class ServerEndpointConfig.Configurator
InstantiationException
public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested)
getNegotiatedExtensions
in class ServerEndpointConfig.Configurator
public String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
getNegotiatedSubprotocol
in class ServerEndpointConfig.Configurator
public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response)
modifyHandshake
in class ServerEndpointConfig.Configurator
Copyright © 1995-2016 Webtide. All Rights Reserved.