Class WebSocketClientRegistry


  • public class WebSocketClientRegistry
    extends Object
    Author:
    jamesdbloom
    • Field Detail

      • WEB_SOCKET_CORRELATION_ID_HEADER_NAME

        public static final String WEB_SOCKET_CORRELATION_ID_HEADER_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • WebSocketClientRegistry

        public WebSocketClientRegistry()
    • Method Detail

      • registerResponseCallbackHandler

        public void registerResponseCallbackHandler​(String webSocketCorrelationId,
                                                    WebSocketResponseCallback expectationResponseCallback)
      • unregisterResponseCallbackHandler

        public void unregisterResponseCallbackHandler​(String webSocketCorrelationId)
      • registerForwardCallbackHandler

        public void registerForwardCallbackHandler​(String webSocketCorrelationId,
                                                   WebSocketRequestCallback expectationForwardCallback)
      • unregisterForwardCallbackHandler

        public void unregisterForwardCallbackHandler​(String webSocketCorrelationId)
      • sendClientMessage

        public void sendClientMessage​(String clientId,
                                      HttpRequest httpRequest)