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(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 DeploymentException
DeploymentException
void register(ServerEndpointConfig serverConfig, String contextPath) throws DeploymentException
DeploymentException
Copyright © 2012-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.