Class PrecannedTestExpectationForwardCallback
- java.lang.Object
-
- org.mockserver.integration.callback.PrecannedTestExpectationForwardCallback
-
- All Implemented Interfaces:
ExpectationCallback<HttpRequest>
,ExpectationForwardCallback
public class PrecannedTestExpectationForwardCallback extends Object implements ExpectationForwardCallback
- Author:
- jamesdbloom
-
-
Constructor Summary
Constructors Constructor Description PrecannedTestExpectationForwardCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpRequest
handle(HttpRequest httpRequest)
Called for every request when expectation condition has been satisfied.
-
-
-
Method Detail
-
handle
public HttpRequest handle(HttpRequest httpRequest)
Description copied from interface:ExpectationForwardCallback
Called 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:
handle
in interfaceExpectationCallback<HttpRequest>
- Specified by:
handle
in interfaceExpectationForwardCallback
- Parameters:
httpRequest
- the request that satisfied the expectation condition- Returns:
- the request that will be proxied
-
-