public class TomcatHandler extends BaseProxyHandler
operateLogController
Constructor and Description |
---|
TomcatHandler() |
Modifier and Type | Method and Description |
---|---|
void |
destroy(org.springframework.web.socket.WebSocketSession session)
关闭连接
|
protected void |
handleTextMessage(Map<String,Object> attributes,
ProxySession proxySession,
com.alibaba.fastjson.JSONObject json,
ConsoleCommandOp consoleCommandOp)
消息处理方法
|
protected void |
handleTextMessage(Map<String,Object> attributes,
org.springframework.web.socket.WebSocketSession session,
com.alibaba.fastjson.JSONObject json,
ConsoleCommandOp consoleCommandOp) |
afterConnectionEstablished, cacheInfo, handleTextMessage
afterConnectionClosed, handleTransportError
handleBinaryMessage
protected void handleTextMessage(Map<String,Object> attributes, org.springframework.web.socket.WebSocketSession session, com.alibaba.fastjson.JSONObject json, ConsoleCommandOp consoleCommandOp) throws IOException
handleTextMessage
in class BaseProxyHandler
IOException
protected void handleTextMessage(Map<String,Object> attributes, ProxySession proxySession, com.alibaba.fastjson.JSONObject json, ConsoleCommandOp consoleCommandOp)
BaseProxyHandler
handleTextMessage
in class BaseProxyHandler
attributes
- 属性proxySession
- 代理回话json
- 数据consoleCommandOp
- 操作类型public void destroy(org.springframework.web.socket.WebSocketSession session)
BaseHandler
destroy
in class BaseProxyHandler
session
- sessionCopyright © 2017–2019. All rights reserved.