public class HTTPIntercepts
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HTTPIntercepts.DebugInterceptRequest |
static class |
HTTPIntercepts.DebugInterceptResponse |
static interface |
HTTPIntercepts.Printer |
Modifier and Type | Field and Description |
---|---|
protected org.apache.http.HttpResponseInterceptor |
CEKILL |
protected java.util.List<org.apache.http.HttpRequestInterceptor> |
dbgreq |
protected java.util.List<org.apache.http.HttpResponseInterceptor> |
dbgrsp |
protected static boolean |
defaultinterception |
protected static HTTPIntercepts.Printer |
defaultprinter |
static HTTPIntercepts.Printer |
logprinter |
protected HTTPIntercepts.Printer |
printer |
protected java.util.List<org.apache.http.HttpRequestInterceptor> |
reqintercepts |
protected java.util.List<org.apache.http.HttpResponseInterceptor> |
rspintercepts |
Constructor and Description |
---|
HTTPIntercepts() |
Modifier and Type | Method and Description |
---|---|
void |
activateInterceptors(org.apache.http.impl.client.HttpClientBuilder cb) |
protected void |
addDebugInterceptors() |
HTTPIntercepts.DebugInterceptRequest |
debugRequestInterceptor() |
HTTPIntercepts.DebugInterceptResponse |
debugResponseInterceptor() |
void |
removeCompression() |
void |
removeDebugIntercepts() |
void |
resetInterceptors() |
void |
setCEKILL(boolean tf) |
void |
setDeflateCompression() |
static void |
setGlobalDebugInterceptors(boolean tf) |
static void |
setGlobalPrinter(HTTPIntercepts.Printer printer) |
void |
setGzipCompression() |
public static HTTPIntercepts.Printer logprinter
protected static boolean defaultinterception
protected static HTTPIntercepts.Printer defaultprinter
protected HTTPIntercepts.Printer printer
protected org.apache.http.HttpResponseInterceptor CEKILL
protected java.util.List<org.apache.http.HttpRequestInterceptor> reqintercepts
protected java.util.List<org.apache.http.HttpResponseInterceptor> rspintercepts
protected java.util.List<org.apache.http.HttpRequestInterceptor> dbgreq
protected java.util.List<org.apache.http.HttpResponseInterceptor> dbgrsp
public static void setGlobalDebugInterceptors(boolean tf)
public static void setGlobalPrinter(HTTPIntercepts.Printer printer)
public HTTPIntercepts.DebugInterceptRequest debugRequestInterceptor()
public HTTPIntercepts.DebugInterceptResponse debugResponseInterceptor()
public void setCEKILL(boolean tf)
public void activateInterceptors(org.apache.http.impl.client.HttpClientBuilder cb)
protected void addDebugInterceptors()
public void resetInterceptors()
public void setGzipCompression()
public void setDeflateCompression()
public void removeCompression()
public void removeDebugIntercepts()