public interface WebSocketEngine
ServerContainer and upgrades HTTP handshake requests.| Modifier and Type | Interface and Description |
|---|---|
static interface |
WebSocketEngine.UpgradeInfo
Upgrade info that includes status for HTTP request upgrading and
connection creation details.
|
static class |
WebSocketEngine.UpgradeStatus
Upgrade Status for HTTP request upgrading
|
| Modifier and Type | Method and Description |
|---|---|
void |
register(Class<?> endpointClass,
String contextPath) |
void |
register(javax.websocket.server.ServerEndpointConfig serverConfig,
String contextPath) |
WebSocketEngine.UpgradeInfo |
upgrade(UpgradeRequest request,
UpgradeResponse response)
A transport calls this method to upgrade a HTTP request.
|
WebSocketEngine.UpgradeInfo upgrade(UpgradeRequest request, UpgradeResponse response)
void register(Class<?> endpointClass, String contextPath) throws javax.websocket.DeploymentException
javax.websocket.DeploymentExceptionvoid register(javax.websocket.server.ServerEndpointConfig serverConfig,
String contextPath)
throws javax.websocket.DeploymentException
javax.websocket.DeploymentExceptionCopyright © 2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.