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.Configurator
InstantiationException
public String getNegotiatedSubprotocol(List<String> supported, List<String> requested)
getNegotiatedSubprotocol
in class ServerEndpointConfig.Configurator
public List<Extension> getNegotiatedExtensions(List<Extension> installed, List<Extension> requested)
getNegotiatedExtensions
in class ServerEndpointConfig.Configurator
public boolean checkOrigin(String originHeaderValue)
checkOrigin
in class ServerEndpointConfig.Configurator
public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, HandshakeResponse response)
modifyHandshake
in class ServerEndpointConfig.Configurator
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.