public class RecordingHttpRequestHandler
extends java.lang.Object
implements org.apache.http.protocol.HttpRequestHandler
Constructor and Description |
---|
RecordingHttpRequestHandler(org.apache.http.protocol.HttpRequestHandler delegate) |
Modifier and Type | Method and Description |
---|---|
void |
assertHasRequest(<any> filter) |
void |
assertHasRequestEventually(<any> filter) |
java.util.List<org.apache.http.HttpRequest> |
getRequests() |
java.util.List<org.apache.http.HttpRequest> |
getRequests(<any> filter) |
void |
handle(org.apache.http.HttpRequest request,
org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
public RecordingHttpRequestHandler(org.apache.http.protocol.HttpRequestHandler delegate)
public void handle(org.apache.http.HttpRequest request, org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
handle
in interface org.apache.http.protocol.HttpRequestHandler
org.apache.http.HttpException
java.io.IOException
public void assertHasRequest(<any> filter)
public void assertHasRequestEventually(<any> filter)
public java.util.List<org.apache.http.HttpRequest> getRequests(<any> filter)
public java.util.List<org.apache.http.HttpRequest> getRequests()