public class DefaultContainerConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator This API is stupid, because it has no way to attach deployment specific context.
| Modifier and Type | Field and Description |
|---|---|
static DefaultContainerConfigurator | INSTANCE |
| Constructor and Description |
|---|
DefaultContainerConfigurator() |
| 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 DefaultContainerConfigurator INSTANCE
public 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.Configuratorpublic <T> T getEndpointInstance(Class<T> endpointClass) throws InstantiationException
getEndpointInstance in class javax.websocket.server.ServerEndpointConfig.ConfiguratorInstantiationExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.