"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "httpclient/src/main/java-deprecated/org/apache/http/impl/client/CloseableHttpResponseProxy.java" between
httpcomponents-client-4.5.6-src.tar.gz and httpcomponents-client-4.5.7-src.tar.gz

About: HttpComponents is an Apache project responsible for creating and maintaining a toolset of low level Java components focused on HTTP and associated protocols. Java sources.

CloseableHttpResponseProxy.java  (httpcomponents-client-4.5.6-src):CloseableHttpResponseProxy.java  (httpcomponents-client-4.5.7-src)
skipping to change at line 43 skipping to change at line 43
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.lang.reflect.Proxy; import java.lang.reflect.Proxy;
import org.apache.http.HttpEntity; import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse; import org.apache.http.HttpResponse;
import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.util.EntityUtils; import org.apache.http.util.EntityUtils;
/** /**
* @since 4.3 * @deprecated Do not use.
*/ */
@Deprecated @Deprecated
class CloseableHttpResponseProxy implements InvocationHandler { class CloseableHttpResponseProxy implements InvocationHandler {
private final static Constructor<?> CONSTRUCTOR; private final static Constructor<?> CONSTRUCTOR;
static { static {
try { try {
CONSTRUCTOR = Proxy.getProxyClass(CloseableHttpResponseProxy.class.g etClassLoader(), CONSTRUCTOR = Proxy.getProxyClass(CloseableHttpResponseProxy.class.g etClassLoader(),
new Class<?>[] { CloseableHttpResponse.class }).getConstruct or(new Class[] { InvocationHandler.class }); new Class<?>[] { CloseableHttpResponse.class }).getConstruct or(new Class[] { InvocationHandler.class });
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)