public static class HTTPUtil.InterceptResponse
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 boolean |
printheaders |
protected org.apache.http.HttpRequest |
request |
protected org.apache.http.HttpResponse |
response |
| Constructor and Description |
|---|
InterceptResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.util.List<org.apache.http.Header> |
getHeaders(java.lang.String key) |
org.apache.http.HttpEntity |
getRequestEntity() |
void |
process(org.apache.http.HttpResponse response,
org.apache.http.protocol.HttpContext context) |
ucar.httpservices.HTTPUtil.InterceptCommon |
setPrint(boolean tf) |
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 boolean printheaders
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.HttpResponseInterceptororg.apache.http.HttpExceptionjava.io.IOExceptionpublic ucar.httpservices.HTTPUtil.InterceptCommon setPrint(boolean tf)
public void clear()
public org.apache.http.HttpEntity getRequestEntity()
public java.util.List<org.apache.http.Header> getHeaders(java.lang.String key)