Class CallbackActionExamples.TestExpectationForwardCallback
java.lang.Object
org.mockserver.examples.mockserver.CallbackActionExamples.TestExpectationForwardCallback
- All Implemented Interfaces:
ExpectationCallback<HttpRequest>,ExpectationForwardCallback
- Enclosing class:
- CallbackActionExamples
public static class CallbackActionExamples.TestExpectationForwardCallback
extends Object
implements ExpectationForwardCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandle(HttpRequest httpRequest) Called for every request when expectation condition has been satisfied.
-
Constructor Details
-
TestExpectationForwardCallback
public TestExpectationForwardCallback()
-
-
Method Details
-
handle
Description copied from interface:ExpectationForwardCallbackCalled for every request when expectation condition has been satisfied. The request that satisfied the expectation condition is passed as the parameter and the return value is the request that will be proxied.- Specified by:
handlein interfaceExpectationCallback<HttpRequest>- Specified by:
handlein interfaceExpectationForwardCallback- Parameters:
httpRequest- the request that satisfied the expectation condition- Returns:
- the request that will be proxied
-