public abstract static class HTTPUtil.InterceptCommon extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.http.protocol.HttpContext |
context |
protected List<org.apache.http.Header> |
headers |
protected boolean |
printheaders |
protected org.apache.http.HttpRequest |
request |
protected org.apache.http.HttpResponse |
response |
Constructor and Description |
---|
InterceptCommon() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
org.apache.http.protocol.HttpContext |
getContext() |
List<org.apache.http.Header> |
getHeaders() |
List<org.apache.http.Header> |
getHeaders(String key) |
org.apache.http.HttpResponse |
getRequest() |
org.apache.http.HttpResponse |
getResponse() |
void |
printHeaders() |
void |
setPrint(boolean tf) |
protected org.apache.http.protocol.HttpContext context
protected List<org.apache.http.Header> headers
protected org.apache.http.HttpRequest request
protected org.apache.http.HttpResponse response
protected boolean printheaders
public void setPrint(boolean tf)
public void clear()
public org.apache.http.HttpResponse getRequest()
public org.apache.http.HttpResponse getResponse()
public org.apache.http.protocol.HttpContext getContext()
public List<org.apache.http.Header> getHeaders()
public void printHeaders()
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.