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