public class ProxyWebSocketHandler
extends org.springframework.web.socket.handler.WebSocketHandlerDecorator
WebSocketHandlerDecorator that adds web socket support to zuul reverse proxy.| Constructor and Description |
|---|
ProxyWebSocketHandler(org.springframework.web.socket.WebSocketHandler delegate,
org.springframework.web.socket.messaging.WebSocketStompClient stompClient,
WebSocketHttpHeadersCallback headersCallback,
org.springframework.messaging.simp.SimpMessagingTemplate messagingTemplate,
ProxyTargetResolver proxyTargetResolver,
ZuulWebSocketProperties zuulWebSocketProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus closeStatus) |
void |
errorHandler(org.springframework.util.ErrorHandler errorHandler) |
void |
handleMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.WebSocketMessage<?> message) |
public ProxyWebSocketHandler(org.springframework.web.socket.WebSocketHandler delegate,
org.springframework.web.socket.messaging.WebSocketStompClient stompClient,
WebSocketHttpHeadersCallback headersCallback,
org.springframework.messaging.simp.SimpMessagingTemplate messagingTemplate,
ProxyTargetResolver proxyTargetResolver,
ZuulWebSocketProperties zuulWebSocketProperties)
public void errorHandler(org.springframework.util.ErrorHandler errorHandler)
public void afterConnectionClosed(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.CloseStatus closeStatus)
throws Exception
afterConnectionClosed in interface org.springframework.web.socket.WebSocketHandlerafterConnectionClosed in class org.springframework.web.socket.handler.WebSocketHandlerDecoratorExceptionpublic void handleMessage(org.springframework.web.socket.WebSocketSession session,
org.springframework.web.socket.WebSocketMessage<?> message)
throws Exception
handleMessage in interface org.springframework.web.socket.WebSocketHandlerhandleMessage in class org.springframework.web.socket.handler.WebSocketHandlerDecoratorExceptionCopyright © 2017–2018 Pivotal Software, Inc.. All rights reserved.