public class LocalCallbackRegistry extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
enabled |
Constructor and Description |
---|
LocalCallbackRegistry() |
Modifier and Type | Method and Description |
---|---|
static Map<String,ExpectationForwardAndResponseCallback> |
forwardAndResponseCallbackRegistry() |
static Map<String,ExpectationForwardCallback> |
forwardCallbackRegistry() |
static boolean |
forwardClientExists(String clientId) |
static void |
registerCallback(String clientId,
ExpectationCallback<?> expectationCallback) |
static Map<String,ExpectationResponseCallback> |
responseCallbackRegistry() |
static boolean |
responseClientExists(String clientId) |
static ExpectationForwardAndResponseCallback |
retrieveForwardAndResponseCallback(String clientId) |
static ExpectationForwardCallback |
retrieveForwardCallback(String clientId) |
static ExpectationResponseCallback |
retrieveResponseCallback(String clientId) |
static void |
setMaxWebSocketExpectations(int maxWebSocketExpectations) |
static void |
unregisterCallback(String clientId) |
public static void setMaxWebSocketExpectations(int maxWebSocketExpectations)
public static Map<String,ExpectationResponseCallback> responseCallbackRegistry()
public static Map<String,ExpectationForwardCallback> forwardCallbackRegistry()
public static Map<String,ExpectationForwardAndResponseCallback> forwardAndResponseCallbackRegistry()
public static void registerCallback(String clientId, ExpectationCallback<?> expectationCallback)
public static void unregisterCallback(String clientId)
public static boolean responseClientExists(String clientId)
public static boolean forwardClientExists(String clientId)
public static ExpectationResponseCallback retrieveResponseCallback(String clientId)
public static ExpectationForwardCallback retrieveForwardCallback(String clientId)
public static ExpectationForwardAndResponseCallback retrieveForwardAndResponseCallback(String clientId)
Copyright © 2022. All rights reserved.