Class CloseableHttpResponseProxy

  • All Implemented Interfaces:
    java.lang.reflect.InvocationHandler

    @Deprecated
    class CloseableHttpResponseProxy
    extends java.lang.Object
    implements java.lang.reflect.InvocationHandler
    Deprecated.
    Do not use.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.reflect.Constructor<?> CONSTRUCTOR
      Deprecated.
       
      private org.apache.http.HttpResponse original
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      CloseableHttpResponseProxy​(org.apache.http.HttpResponse original)
      Deprecated.
       
    • Field Detail

      • CONSTRUCTOR

        private static final java.lang.reflect.Constructor<?> CONSTRUCTOR
        Deprecated.
      • original

        private final org.apache.http.HttpResponse original
        Deprecated.
    • Constructor Detail

      • CloseableHttpResponseProxy

        CloseableHttpResponseProxy​(org.apache.http.HttpResponse original)
        Deprecated.
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Deprecated.
        Throws:
        java.io.IOException
      • invoke

        public java.lang.Object invoke​(java.lang.Object proxy,
                                       java.lang.reflect.Method method,
                                       java.lang.Object[] args)
                                throws java.lang.Throwable
        Deprecated.
        Specified by:
        invoke in interface java.lang.reflect.InvocationHandler
        Throws:
        java.lang.Throwable
      • newProxy

        public static CloseableHttpResponse newProxy​(org.apache.http.HttpResponse original)
        Deprecated.