public class WebSocketFilter extends BaseWebSocketFilter
| Constructor and Description |
|---|
WebSocketFilter() |
WebSocketFilter(long wsTimeoutInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doServerUpgrade(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
org.glassfish.grizzly.http.HttpContent requestContent) |
protected org.glassfish.grizzly.filterchain.NextAction |
handleHandshake(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
org.glassfish.grizzly.http.HttpContent content)
Handle websocket handshake
|
handleClose, handleRead, handleWrite, onHandshakeFailure, setIdleTimeout, webSocketInProgresspublic WebSocketFilter()
public WebSocketFilter(long wsTimeoutInSeconds)
protected org.glassfish.grizzly.filterchain.NextAction handleHandshake(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
org.glassfish.grizzly.http.HttpContent content)
throws IOException
BaseWebSocketFilterhandleHandshake in class BaseWebSocketFilterctx - FilterChainContextcontent - HTTP messageNextAction instruction for FilterChain, how it should continue the executionIOExceptionprotected boolean doServerUpgrade(org.glassfish.grizzly.filterchain.FilterChainContext ctx,
org.glassfish.grizzly.http.HttpContent requestContent)
throws IOException
IOExceptionCopyright © 2022 Oracle Corporation. All Rights Reserved.