public static class HTTPIntercepts.DebugInterceptRequest
extends java.lang.Object
implements org.apache.http.HttpRequestInterceptor
Modifier and Type | Field and Description |
---|---|
protected org.apache.http.protocol.HttpContext |
context |
protected java.util.List<org.apache.http.Header> |
headers |
protected HTTPIntercepts.Printer |
printer |
protected org.apache.http.HttpRequest |
request |
protected org.apache.http.RequestLine |
requestline |
protected org.apache.http.HttpResponse |
response |
Constructor and Description |
---|
DebugInterceptRequest() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.apache.http.protocol.HttpContext |
getContext() |
java.util.List<org.apache.http.Header> |
getHeaders() |
java.util.List<org.apache.http.Header> |
getHeaders(java.lang.String key) |
java.lang.String |
getMethod() |
org.apache.http.HttpRequest |
getRequest() |
org.apache.http.HttpEntity |
getRequestEntity() |
org.apache.http.HttpResponse |
getResponse() |
java.lang.String |
getUri() |
void |
printHeaders() |
void |
process(org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
ucar.httpservices.HTTPIntercepts.InterceptCommon |
setPrint(HTTPIntercepts.Printer printer) |
protected org.apache.http.RequestLine requestline
protected org.apache.http.protocol.HttpContext context
protected java.util.List<org.apache.http.Header> headers
protected org.apache.http.HttpRequest request
protected org.apache.http.HttpResponse response
protected HTTPIntercepts.Printer printer
public java.lang.String getMethod()
public java.lang.String getUri()
public void process(org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
java.io.IOException
public ucar.httpservices.HTTPIntercepts.InterceptCommon setPrint(HTTPIntercepts.Printer printer)
public void clear()
public org.apache.http.HttpRequest getRequest()
public org.apache.http.HttpResponse getResponse()
public org.apache.http.protocol.HttpContext getContext()
public org.apache.http.HttpEntity getRequestEntity()
public java.util.List<org.apache.http.Header> getHeaders(java.lang.String key)
public java.util.List<org.apache.http.Header> getHeaders()
public void printHeaders()