| Constructor and Description |
|---|
EventBusCollector(java.lang.String urlPrefix,
java.lang.String sockPath,
java.lang.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,
java.lang.Throwable exception) |
void |
start() |
void |
stop() |
public EventBusCollector(java.lang.String urlPrefix,
java.lang.String sockPath,
java.lang.String address,
com.google.common.base.Predicate<? super Exchange> filter)
public BufferingRequestLog getRequestLog()
getRequestLog in interface Collectorprotected void handleTextMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.TextMessage message)
throws java.lang.Exception
handleTextMessage in class org.springframework.web.socket.handler.AbstractWebSocketHandlerjava.lang.Exceptionpublic void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession session)
throws java.lang.Exception
afterConnectionEstablished in interface org.springframework.web.socket.WebSocketHandlerafterConnectionEstablished in class org.springframework.web.socket.handler.AbstractWebSocketHandlerjava.lang.Exceptionpublic void handleTransportError(org.springframework.web.socket.WebSocketSession session,
java.lang.Throwable exception)
throws java.lang.Exception
handleTransportError in interface org.springframework.web.socket.WebSocketHandlerhandleTransportError in class org.springframework.web.socket.handler.AbstractWebSocketHandlerjava.lang.Exceptionpublic void afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus status)
throws java.lang.Exception
afterConnectionClosed in interface org.springframework.web.socket.WebSocketHandlerafterConnectionClosed in class org.springframework.web.socket.handler.AbstractWebSocketHandlerjava.lang.Exception