Modifier and Type | Class and Description |
---|---|
class | ServletWebSocketHttpExchange |
Modifier and Type | Method and Description |
---|---|
void | WebSocketConnectionCallback.onConnect(WebSocketHttpExchange exchange, WebSocketChannel channel) Is called once the WebSocket connection is established, which means the handshake was successful. |
Modifier and Type | Method and Description |
---|---|
abstract WebSocketChannel | Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) Create the WebSocketChannel from the WebSocketHttpExchange |
protected static String | Handshake.getWebSocketLocation(WebSocketHttpExchange exchange) Return the full url of the websocket location of the given WebSocketHttpExchange |
void | Handshake.handshake(WebSocketHttpExchange exchange) Issue the WebSocket upgrade |
protected abstract void | Handshake.handshakeInternal(WebSocketHttpExchange exchange) |
protected ExtensionFunction | Handshake.initExtensions(WebSocketHttpExchange exchange) Create the ExtensionFunction list associated with the negotiated extensions defined in the exchange's response. |
abstract boolean | Handshake.matches(WebSocketHttpExchange exchange) Return true if this implementation can be used to issue a handshake. |
protected void | Handshake.performUpgrade(WebSocketHttpExchange exchange) Perform the upgrade using no payload |
protected void | Handshake.performUpgrade(WebSocketHttpExchange exchange, byte[] data) convenience method to perform the upgrade |
protected void | Handshake.selectExtensions(WebSocketHttpExchange exchange) |
protected void | Handshake.selectSubprotocol(WebSocketHttpExchange exchange) Selects the first matching supported sub protocol and add it the the headers of the exchange. |
protected void | Handshake.upgradeChannel(WebSocketHttpExchange exchange, byte[] data) |
Modifier and Type | Method and Description |
---|---|
WebSocketChannel | Hybi07Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) |
protected void | Hybi07Handshake.handshakeInternal(WebSocketHttpExchange exchange) |
boolean | Hybi07Handshake.matches(WebSocketHttpExchange exchange) |
Modifier and Type | Method and Description |
---|---|
WebSocketChannel | Hybi08Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) |
Modifier and Type | Method and Description |
---|---|
WebSocketChannel | Hybi13Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection channel, ByteBufferPool pool) |
protected void | Hybi13Handshake.handshakeInternal(WebSocketHttpExchange exchange) |
Modifier and Type | Method and Description |
---|---|
void | EndpointSessionHandler.onConnect(WebSocketHttpExchange exchange, WebSocketChannel channel) |
Modifier and Type | Method and Description |
---|---|
static boolean | HandshakeUtil.checkOrigin(javax.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Checks the orgin against the |
WebSocketChannel | JsrHybi13Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection c, ByteBufferPool buffers) |
WebSocketChannel | JsrHybi08Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection c, ByteBufferPool buffers) |
WebSocketChannel | JsrHybi07Handshake.createChannel(WebSocketHttpExchange exchange, org.xnio.StreamConnection c, ByteBufferPool buffers) |
boolean | JsrHybi13Handshake.matches(WebSocketHttpExchange exchange) |
boolean | JsrHybi08Handshake.matches(WebSocketHttpExchange exchange) |
boolean | JsrHybi07Handshake.matches(WebSocketHttpExchange exchange) |
static void | HandshakeUtil.prepareUpgrade(javax.websocket.server.ServerEndpointConfig config, WebSocketHttpExchange exchange) Prepare for upgrade |
protected void | JsrHybi13Handshake.upgradeChannel(WebSocketHttpExchange exchange, byte[] data) |
protected void | JsrHybi08Handshake.upgradeChannel(WebSocketHttpExchange exchange, byte[] data) |
protected void | JsrHybi07Handshake.upgradeChannel(WebSocketHttpExchange exchange, byte[] data) |
Constructor and Description |
---|
ExchangeHandshakeRequest(WebSocketHttpExchange exchange) |
ExchangeHandshakeResponse(WebSocketHttpExchange exchange) |
Modifier and Type | Class and Description |
---|---|
class | AsyncWebSocketHttpServerExchange |
class | BlockingWebSocketHttpServerExchange |
Copyright © 2015 JBoss by Red Hat. All rights reserved.