Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.github.kristofa.test.http;

Context for matching a http request.

If contains a request and another request and a response. Both requests did originally not equal.

Http Request matching contexts can change through out the chain of http request matching filters that are executed.

public interface HttpRequestMatchingContext {

    
A request that was expected.

Returns:
a request that we expected to receive.
    HttpRequest originalRequest();

    
Another request that we received and that initially did not match original request.

Returns:
another request.
    HttpRequest otherRequest();

    
Initial response which can have been modified in the meanwhile.

Returns:
response.
New to GrepCode? Check out our FAQ X