public final class ContainerDefaultConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
behavior of {@link javax.websocket.server.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(java.lang.String originHeaderValue) |
<T> T |
getEndpointInstance(java.lang.Class<T> endpointClass) |
java.util.List<javax.websocket.Extension> |
getNegotiatedExtensions(java.util.List<javax.websocket.Extension> installed,
java.util.List<javax.websocket.Extension> requested) |
java.lang.String |
getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
java.util.List<java.lang.String> requested) |
void |
modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response) |
public ContainerDefaultConfigurator()
public boolean checkOrigin(java.lang.String originHeaderValue)
checkOrigin in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic <T> T getEndpointInstance(java.lang.Class<T> endpointClass)
throws java.lang.InstantiationException
getEndpointInstance in class javax.websocket.server.ServerEndpointConfig.Configuratorjava.lang.InstantiationExceptionpublic java.util.List<javax.websocket.Extension> getNegotiatedExtensions(java.util.List<javax.websocket.Extension> installed,
java.util.List<javax.websocket.Extension> requested)
getNegotiatedExtensions in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic java.lang.String getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
java.util.List<java.lang.String> requested)
getNegotiatedSubprotocol 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 © 1995–2022 Webtide. All rights reserved.