public class SmWebSocketHandleImpl
extends org.smartboot.http.server.handler.WebSocketDefaultHandler
| Constructor and Description |
|---|
SmWebSocketHandleImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleBinaryMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
byte[] data) |
void |
handlePing(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response) |
void |
handlePong(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response) |
void |
handleTextMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
String data) |
void |
onClose(org.smartboot.http.server.impl.Request request) |
void |
onClose(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
org.smartboot.http.common.codec.websocket.CloseReason closeReason) |
void |
onError(org.smartboot.http.server.WebSocketRequest request,
Throwable error) |
void |
onHandShake(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response) |
void |
willHeaderComplete(org.smartboot.http.server.impl.WebSocketRequestImpl request,
org.smartboot.http.server.impl.WebSocketResponseImpl response) |
handle, whenHeaderCompleteonBodyStream, onHeaderCompletepublic void willHeaderComplete(org.smartboot.http.server.impl.WebSocketRequestImpl request,
org.smartboot.http.server.impl.WebSocketResponseImpl response)
willHeaderComplete in class org.smartboot.http.server.WebSocketHandlerpublic void onHandShake(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response)
onHandShake in class org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void onClose(org.smartboot.http.server.impl.Request request)
public void onClose(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
org.smartboot.http.common.codec.websocket.CloseReason closeReason)
onClose in class org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void handlePing(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response)
handlePing in class org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void handlePong(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response)
handlePong in class org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void handleTextMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
String data)
handleTextMessage in class org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void handleBinaryMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
byte[] data)
handleBinaryMessage in class org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void onError(org.smartboot.http.server.WebSocketRequest request,
Throwable error)
onError in class org.smartboot.http.server.handler.WebSocketDefaultHandlerCopyright © 2025. All rights reserved.