public class SeedServerEndpointConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
| Constructor and Description |
|---|
SeedServerEndpointConfigurator() |
| 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 <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance in class javax.websocket.server.ServerEndpointConfig.ConfiguratorInstantiationExceptionpublic String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
getNegotiatedSubprotocol in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic List<javax.websocket.Extension> getNegotiatedExtensions(List<javax.websocket.Extension> installed, List<javax.websocket.Extension> requested)
getNegotiatedExtensions in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic boolean checkOrigin(String originHeaderValue)
checkOrigin in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic void modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response)
modifyHandshake in class javax.websocket.server.ServerEndpointConfig.ConfiguratorCopyright © 2013-2017–2018 SeedStack. All rights reserved.