public static class HTTPIntercepts.DebugInterceptResponse
extends java.lang.Object
implements org.apache.http.HttpResponseInterceptor
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.HttpResponse |
response |
protected org.apache.http.StatusLine |
statusline |
Constructor and Description |
---|
DebugInterceptResponse() |
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) |
org.apache.http.HttpRequest |
getRequest() |
org.apache.http.HttpEntity |
getRequestEntity() |
org.apache.http.HttpResponse |
getResponse() |
int |
getStatusCode() |
void |
printHeaders() |
void |
process(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
ucar.httpservices.HTTPIntercepts.InterceptCommon |
setPrint(HTTPIntercepts.Printer printer) |
protected org.apache.http.StatusLine statusline
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 int getStatusCode()
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException
process
in interface org.apache.http.HttpResponseInterceptor
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()