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