public static final class JSR356AsyncSupport.AtmosphereConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
| Constructor and Description |
|---|
AtmosphereConfigurator(AtmosphereFramework framework) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOrigin(java.lang.String originHeaderValue)
Calls
checkOrigin(String) in super class if a Default Configurator could be loaded. |
<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)
Calls
getNegotiatedExtensions(List, List) in super class if a Default Configurator could be loaded. |
java.lang.String |
getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
java.util.List<java.lang.String> requested)
Calls
getNegotiatedSubprotocol(List, List) in super class if a Default Configurator could be loaded. |
void |
modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response) |
public AtmosphereConfigurator(AtmosphereFramework framework)
public <T> T getEndpointInstance(java.lang.Class<T> endpointClass)
throws java.lang.InstantiationException
getEndpointInstance in class javax.websocket.server.ServerEndpointConfig.Configuratorjava.lang.InstantiationExceptionpublic boolean checkOrigin(java.lang.String originHeaderValue)
checkOrigin(String) in super class if a Default Configurator could be loaded.
Otherwise true is returned as default.checkOrigin 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(List, List) in super class if a Default Configurator could be loaded.
Otherwise "" is returned as default.getNegotiatedSubprotocol in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic java.util.List<javax.websocket.Extension> getNegotiatedExtensions(java.util.List<javax.websocket.Extension> installed,
java.util.List<javax.websocket.Extension> requested)
getNegotiatedExtensions(List, List) in super class if a Default Configurator could be loaded.
Otherwise the list of matching extensions is returned as default.getNegotiatedExtensions 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 © 2024. All Rights Reserved.