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