@Deprecated
class CloseableHttpResponseProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Modifier and Type | Field and Description |
---|---|
private static java.lang.reflect.Constructor<?> |
CONSTRUCTOR
Deprecated.
|
private org.apache.http.HttpResponse |
original
Deprecated.
|
Constructor and Description |
---|
CloseableHttpResponseProxy(org.apache.http.HttpResponse original)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Deprecated.
|
static CloseableHttpResponse |
newProxy(org.apache.http.HttpResponse original)
Deprecated.
|
private static final java.lang.reflect.Constructor<?> CONSTRUCTOR
private final org.apache.http.HttpResponse original
CloseableHttpResponseProxy(org.apache.http.HttpResponse original)
public void close() throws java.io.IOException
java.io.IOException
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public static CloseableHttpResponse newProxy(org.apache.http.HttpResponse original)