Class TunnelRefusedException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class TunnelRefusedException
    extends org.apache.hc.core5.http.HttpException
    Deprecated.
    Do not use/
    Signals that the tunnel request was rejected by the proxy host.
    Since:
    4.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.hc.core5.http.HttpResponse response
      Deprecated.
       
      private static long serialVersionUID
      Deprecated.
       
    • Constructor Summary

      Constructors 
      Constructor Description
      TunnelRefusedException​(java.lang.String message, java.lang.String responseMessage)
      Deprecated.
      Do not use.
      TunnelRefusedException​(org.apache.hc.core5.http.HttpResponse response)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.apache.hc.core5.http.HttpResponse getResponse()
      Deprecated.
       
      java.lang.String getResponseMessage()
      Deprecated.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        See Also:
        Constant Field Values
      • response

        private final org.apache.hc.core5.http.HttpResponse response
        Deprecated.
    • Constructor Detail

      • TunnelRefusedException

        @Deprecated
        public TunnelRefusedException​(java.lang.String message,
                                      java.lang.String responseMessage)
        Deprecated.
        Do not use.
      • TunnelRefusedException

        @Internal
        public TunnelRefusedException​(org.apache.hc.core5.http.HttpResponse response)
        Deprecated.
    • Method Detail

      • getResponseMessage

        @Deprecated
        public java.lang.String getResponseMessage()
        Deprecated.
      • getResponse

        public org.apache.hc.core5.http.HttpResponse getResponse()
        Deprecated.
        Since:
        5.4