public class SmWebSocketHandleImpl
extends org.smartboot.http.server.handler.WebSocketDefaultHandler
构造器和说明 |
---|
SmWebSocketHandleImpl() |
限定符和类型 | 方法和说明 |
---|---|
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,
java.lang.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,
java.lang.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) |
public void willHeaderComplete(org.smartboot.http.server.impl.WebSocketRequestImpl request, org.smartboot.http.server.impl.WebSocketResponseImpl response)
willHeaderComplete
在类中 org.smartboot.http.server.WebSocketHandler
public void onHandShake(org.smartboot.http.server.WebSocketRequest request, org.smartboot.http.server.WebSocketResponse response)
onHandShake
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler
public 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
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler
public void handlePing(org.smartboot.http.server.WebSocketRequest request, org.smartboot.http.server.WebSocketResponse response)
handlePing
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler
public void handlePong(org.smartboot.http.server.WebSocketRequest request, org.smartboot.http.server.WebSocketResponse response)
handlePong
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler
public void handleTextMessage(org.smartboot.http.server.WebSocketRequest request, org.smartboot.http.server.WebSocketResponse response, java.lang.String data)
handleTextMessage
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler
public void handleBinaryMessage(org.smartboot.http.server.WebSocketRequest request, org.smartboot.http.server.WebSocketResponse response, byte[] data)
handleBinaryMessage
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler
public void onError(org.smartboot.http.server.WebSocketRequest request, java.lang.Throwable error)
onError
在类中 org.smartboot.http.server.handler.WebSocketDefaultHandler