Class SubscriptionWebsocketHandler
java.lang.Object
org.springframework.web.socket.handler.AbstractWebSocketHandler
org.springframework.web.socket.handler.TextWebSocketHandler
ca.uhn.fhir.jpa.subscription.match.deliver.websocket.SubscriptionWebsocketHandler
- All Implemented Interfaces:
org.springframework.web.socket.WebSocketHandler
public class SubscriptionWebsocketHandler
extends org.springframework.web.socket.handler.TextWebSocketHandler
implements org.springframework.web.socket.WebSocketHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterConnectionClosed
(org.springframework.web.socket.WebSocketSession theSession, org.springframework.web.socket.CloseStatus theStatus) void
afterConnectionEstablished
(org.springframework.web.socket.WebSocketSession theSession) protected void
handleFailure
(Exception theE) protected void
handleTextMessage
(org.springframework.web.socket.WebSocketSession theSession, org.springframework.web.socket.TextMessage theMessage) void
handleTransportError
(org.springframework.web.socket.WebSocketSession theSession, Throwable theException) void
void
Methods inherited from class org.springframework.web.socket.handler.TextWebSocketHandler
handleBinaryMessage
Methods inherited from class org.springframework.web.socket.handler.AbstractWebSocketHandler
handleMessage, handlePongMessage, supportsPartialMessages
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.socket.WebSocketHandler
handleMessage, supportsPartialMessages
-
Field Details
-
myWebsocketConnectionValidator
-
-
Constructor Details
-
SubscriptionWebsocketHandler
public SubscriptionWebsocketHandler()Constructor
-
-
Method Details
-
afterConnectionClosed
public void afterConnectionClosed(org.springframework.web.socket.WebSocketSession theSession, org.springframework.web.socket.CloseStatus theStatus) throws Exception - Specified by:
afterConnectionClosed
in interfaceorg.springframework.web.socket.WebSocketHandler
- Overrides:
afterConnectionClosed
in classorg.springframework.web.socket.handler.AbstractWebSocketHandler
- Throws:
Exception
-
afterConnectionEstablished
public void afterConnectionEstablished(org.springframework.web.socket.WebSocketSession theSession) throws Exception - Specified by:
afterConnectionEstablished
in interfaceorg.springframework.web.socket.WebSocketHandler
- Overrides:
afterConnectionEstablished
in classorg.springframework.web.socket.handler.AbstractWebSocketHandler
- Throws:
Exception
-
handleFailure
-
handleTextMessage
protected void handleTextMessage(org.springframework.web.socket.WebSocketSession theSession, org.springframework.web.socket.TextMessage theMessage) throws Exception - Overrides:
handleTextMessage
in classorg.springframework.web.socket.handler.AbstractWebSocketHandler
- Throws:
Exception
-
handleTransportError
public void handleTransportError(org.springframework.web.socket.WebSocketSession theSession, Throwable theException) throws Exception - Specified by:
handleTransportError
in interfaceorg.springframework.web.socket.WebSocketHandler
- Overrides:
handleTransportError
in classorg.springframework.web.socket.handler.AbstractWebSocketHandler
- Throws:
Exception
-
postConstruct
-
preDescroy
-