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​(MockServerLogger mockServerLogger)
    • Method Detail

      • unregisterClient

        public void unregisterClient​(String clientId)
      • 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)
      • reset

        public void reset()