Deprecated
Do not use.
| Modifier and Type | Field and Description |
|---|---|
| private static final Constructor | |
| private final HttpResponse |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | invoke(final Object
the proxy instance that the method was invoked on proxy, final Method the method, final Object[] Method instance corresponding to
the interface method invoked on the proxy instance. The declaring
class of the Method object will be the interface that
the method was declared in, which may be a superinterface of the
proxy interface that the proxy class inherits the method through.an array of objects containing the values of the
arguments passed in the method invocation on the proxy instance,
or args)null if interface method takes no arguments.
Arguments of primitive types are wrapped in instances of the
appropriate primitive wrapper class, such as
java.lang.Integer or java.lang.Boolean.Implements java. |
| public static CloseableHttpResponse |
| CONSTRUCTOR | back to summary |
|---|---|
| private static final Constructor<?> CONSTRUCTOR | |
| original | back to summary |
|---|---|
| private final HttpResponse original | |
| CloseableHttpResponseProxy | back to summary |
|---|---|
| pack-priv CloseableHttpResponseProxy(final HttpResponse original) | |
| close | back to summary |
|---|---|
| public void close() throws IOException | |
| invoke | back to summary |
|---|---|
| public Object invoke(final Object proxy, final Method method, final Object[] args) throws Throwable Implements java. Doc from java. Processes a method invocation on a proxy instance and returns the result. This method will be invoked on an invocation handler when a method is invoked on a proxy instance that it is associated with.
| |
| newProxy | back to summary |
|---|---|
| public static CloseableHttpResponse newProxy(final HttpResponse original) | |