public class BasicServerEndpointConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
Modifier and Type | Field and Description |
---|---|
static javax.websocket.server.ServerEndpointConfig.Configurator |
INSTANCE |
Constructor and Description |
---|
BasicServerEndpointConfigurator() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOrigin(String originHeaderValue) |
<T> T |
getEndpointInstance(Class<T> endpointClass) |
List<javax.websocket.Extension> |
getNegotiatedExtensions(List<javax.websocket.Extension> installed,
List<javax.websocket.Extension> requested) |
String |
getNegotiatedSubprotocol(List<String> supported,
List<String> requested) |
void |
modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response) |
public static final javax.websocket.server.ServerEndpointConfig.Configurator INSTANCE
public boolean checkOrigin(String originHeaderValue)
checkOrigin
in class javax.websocket.server.ServerEndpointConfig.Configurator
public <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance
in class javax.websocket.server.ServerEndpointConfig.Configurator
InstantiationException
public List<javax.websocket.Extension> getNegotiatedExtensions(List<javax.websocket.Extension> installed, List<javax.websocket.Extension> requested)
getNegotiatedExtensions
in class javax.websocket.server.ServerEndpointConfig.Configurator
public String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
getNegotiatedSubprotocol
in class javax.websocket.server.ServerEndpointConfig.Configurator
public void modifyHandshake(javax.websocket.server.ServerEndpointConfig sec, javax.websocket.server.HandshakeRequest request, javax.websocket.HandshakeResponse response)
modifyHandshake
in class javax.websocket.server.ServerEndpointConfig.Configurator
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.