public class WebSocketHandleImp
extends org.smartboot.http.server.handler.WebSocketDefaultHandler
| 构造器和说明 |
|---|
WebSocketHandleImp() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleBinaryMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
byte[] data) |
void |
handleTextMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
String data) |
void |
onClose(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response) |
void |
onError(Throwable error) |
void |
onHandShake(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response) |
public void onHandShake(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response)
onHandShake 在类中 org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void onClose(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response)
onClose 在类中 org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void handleTextMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
String data)
handleTextMessage 在类中 org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void handleBinaryMessage(org.smartboot.http.server.WebSocketRequest request,
org.smartboot.http.server.WebSocketResponse response,
byte[] data)
handleBinaryMessage 在类中 org.smartboot.http.server.handler.WebSocketDefaultHandlerpublic void onError(Throwable error)
onError 在类中 org.smartboot.http.server.handler.WebSocketDefaultHandlerCopyright © 2021. All rights reserved.