Class PrecannedTestExpectationForwardCallback

    • Constructor Detail

      • PrecannedTestExpectationForwardCallback

        public PrecannedTestExpectationForwardCallback()
    • 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 interface ExpectationCallback<HttpRequest>
        Specified by:
        handle in interface ExpectationForwardCallback
        Parameters:
        httpRequest - the request that satisfied the expectation condition
        Returns:
        the request that will be proxied