public class DefaultServerEndpointConfigurator extends ServerEndpointConfig.Configurator
| Constructor and Description | 
|---|
| DefaultServerEndpointConfigurator() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | checkOrigin(String originHeaderValue) | 
| <T> T | getEndpointInstance(Class<T> clazz) | 
| List<Extension> | getNegotiatedExtensions(List<Extension> installed,
                       List<Extension> requested) | 
| String | getNegotiatedSubprotocol(List<String> supported,
                        List<String> requested) | 
| void | modifyHandshake(ServerEndpointConfig sec,
               HandshakeRequest request,
               HandshakeResponse response) | 
public <T> T getEndpointInstance(Class<T> clazz) throws InstantiationException
getEndpointInstance in class ServerEndpointConfig.ConfiguratorInstantiationExceptionpublic String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
getNegotiatedSubprotocol in class ServerEndpointConfig.Configuratorpublic List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested)
getNegotiatedExtensions in class ServerEndpointConfig.Configuratorpublic boolean checkOrigin(String originHeaderValue)
checkOrigin in class ServerEndpointConfig.Configuratorpublic void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response)
modifyHandshake in class ServerEndpointConfig.ConfiguratorCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.