Package org.mockserver.callback
Class WebSocketClientRegistry
- java.lang.Object
-
- org.mockserver.callback.WebSocketClientRegistry
-
public class WebSocketClientRegistry extends Object
- Author:
- jamesdbloom
-
-
Field Summary
Fields Modifier and Type Field Description static String
WEB_SOCKET_CORRELATION_ID_HEADER_NAME
-
Constructor Summary
Constructors Constructor Description WebSocketClientRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerForwardCallbackHandler(String webSocketCorrelationId, WebSocketRequestCallback expectationForwardCallback)
void
registerResponseCallbackHandler(String webSocketCorrelationId, WebSocketResponseCallback expectationResponseCallback)
void
sendClientMessage(String clientId, HttpRequest httpRequest)
void
unregisterForwardCallbackHandler(String webSocketCorrelationId)
void
unregisterResponseCallbackHandler(String webSocketCorrelationId)
-
-
-
Field Detail
-
WEB_SOCKET_CORRELATION_ID_HEADER_NAME
public static final String WEB_SOCKET_CORRELATION_ID_HEADER_NAME
- See Also:
- Constant Field Values
-
-
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)
-
-