public interface StreamHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
nextDownstreamHandler(WebSocket ws,
ByteBuffer buffer,
Frame frame,
StreamHandlerChain chain)
Next downstream handler.
|
void |
nextHandshakeDownstreamHandler(WebSocket ws,
ByteBuffer buffer,
StreamHandlerChain chain)
Next handshake downstream handler.
|
void |
nextHandshakeUpstreamHandler(WebSocket ws,
ByteBuffer buffer,
StreamHandlerChain chain)
Next handshake upstream handler.
|
void |
nextUpstreamHandler(WebSocket ws,
ByteBuffer buffer,
Frame frame,
StreamHandlerChain chain)
Next upstream handler.
|
void nextHandshakeUpstreamHandler(WebSocket ws, ByteBuffer buffer, StreamHandlerChain chain) throws WebSocketException
ws - the wsbuffer - the bufferchain - the chainWebSocketException - the web socket exceptionvoid nextHandshakeDownstreamHandler(WebSocket ws, ByteBuffer buffer, StreamHandlerChain chain) throws WebSocketException
ws - the wsbuffer - the bufferchain - the chainWebSocketException - the web socket exceptionvoid nextUpstreamHandler(WebSocket ws, ByteBuffer buffer, Frame frame, StreamHandlerChain chain) throws WebSocketException
ws - the wsbuffer - the bufferframe - the framechain - the chainWebSocketException - the web socket exceptionvoid nextDownstreamHandler(WebSocket ws, ByteBuffer buffer, Frame frame, StreamHandlerChain chain) throws WebSocketException
ws - the wsbuffer - the bufferframe - the framechain - the chainWebSocketException - the web socket exceptionCopyright © 2020. All rights reserved.