public class EventBusCollector extends org.springframework.web.socket.handler.AbstractWebSocketHandler implements Collector
| Constructor and Description |
|---|
EventBusCollector(String urlPrefix,
String sockPath,
String address,
com.google.common.base.Predicate<? super Exchange> filter) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus status) |
void |
afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session) |
BufferingRequestLog |
getRequestLog() |
protected void |
handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message) |
void |
handleTransportError(org.springframework.web.socket.WebSocketSession session,
Throwable exception) |
void |
start() |
void |
stop() |
public BufferingRequestLog getRequestLog()
getRequestLog in interface Collectorprotected void handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message)
throws Exception
handleTextMessage in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionpublic void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session)
throws Exception
afterConnectionEstablished in interface org.springframework.web.socket.WebSocketHandlerafterConnectionEstablished in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionpublic void handleTransportError(org.springframework.web.socket.WebSocketSession session,
Throwable exception)
throws Exception
handleTransportError in interface org.springframework.web.socket.WebSocketHandlerhandleTransportError in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionpublic void afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus status)
throws Exception
afterConnectionClosed in interface org.springframework.web.socket.WebSocketHandlerafterConnectionClosed in class org.springframework.web.socket.handler.AbstractWebSocketHandlerExceptionCopyright © 2016–2018. All rights reserved.