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 boolean |
forwardClientExists(String clientId) |
static void |
registerCallback(String clientId,
ExpectationCallback<?> expectationCallback) |
static boolean |
responseClientExists(String clientId) |
static ExpectationForwardAndResponseCallback |
retrieveForwardAndResponseCallback(String clientId) |
static ExpectationForwardCallback |
retrieveForwardCallback(String clientId) |
static ExpectationResponseCallback |
retrieveResponseCallback(String clientId) |
static void |
unregisterCallback(String clientId) |
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 © 2020. All rights reserved.