public class WebSocketFilter extends BaseWebSocketFilter
| Constructor and Description |
|---|
WebSocketFilter() |
WebSocketFilter(long wsTimeoutInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doServerUpgrade(FilterChainContext ctx,
HttpContent requestContent) |
protected NextAction |
handleHandshake(FilterChainContext ctx,
HttpContent content)
Handle websocket handshake
|
composeHandshakeError, handleClose, handleConnect, handleRead, handleWrite, setIdleTimeoutcreateContext, exceptionOccurred, handleAccept, handleEvent, onAdded, onFilterChainChanged, onRemovedpublic WebSocketFilter()
public WebSocketFilter(long wsTimeoutInSeconds)
protected NextAction handleHandshake(FilterChainContext ctx, HttpContent content) throws IOException
BaseWebSocketFilterhandleHandshake in class BaseWebSocketFilterctx - FilterChainContextcontent - HTTP messageNextAction instruction for FilterChain, how it should continue the executionIOExceptionprotected boolean doServerUpgrade(FilterChainContext ctx, HttpContent requestContent) throws IOException
IOExceptionCopyright © 2014 Oracle Corporation. All Rights Reserved.