public class TyrusServerEndpointConfigurator
extends javax.websocket.server.ServerEndpointConfig.Configurator
ServerEndpointConfig.Configurator.| Constructor and Description |
|---|
TyrusServerEndpointConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkOrigin(java.lang.String originHeaderValue) |
<T> T |
getEndpointInstance(java.lang.Class<T> endpointClass) |
java.util.List<javax.websocket.Extension> |
getNegotiatedExtensions(java.util.List<javax.websocket.Extension> installed,
java.util.List<javax.websocket.Extension> requested) |
java.lang.String |
getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
java.util.List<java.lang.String> requested) |
void |
modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response) |
public java.lang.String getNegotiatedSubprotocol(java.util.List<java.lang.String> supported,
java.util.List<java.lang.String> requested)
getNegotiatedSubprotocol in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic java.util.List<javax.websocket.Extension> getNegotiatedExtensions(java.util.List<javax.websocket.Extension> installed,
java.util.List<javax.websocket.Extension> requested)
getNegotiatedExtensions in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic boolean checkOrigin(java.lang.String originHeaderValue)
checkOrigin in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic void modifyHandshake(javax.websocket.server.ServerEndpointConfig sec,
javax.websocket.server.HandshakeRequest request,
javax.websocket.HandshakeResponse response)
modifyHandshake in class javax.websocket.server.ServerEndpointConfig.Configuratorpublic <T> T getEndpointInstance(java.lang.Class<T> endpointClass)
throws java.lang.InstantiationException
getEndpointInstance in class javax.websocket.server.ServerEndpointConfig.Configuratorjava.lang.InstantiationExceptionCopyright © 2012–2020 Oracle Corporation. All rights reserved.