Class TunnelRefusedException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TunnelRefusedException
    extends org.apache.hc.core5.http.HttpException
    Signals that the tunnel request was rejected by the proxy host.
    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TunnelRefusedException​(java.lang.String message, java.lang.String responseMessage)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getResponseMessage()  
      • 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

      • responseMessage

        private final java.lang.String responseMessage
    • Constructor Detail

      • TunnelRefusedException

        public TunnelRefusedException​(java.lang.String message,
                                      java.lang.String responseMessage)
    • Method Detail

      • getResponseMessage

        public java.lang.String getResponseMessage()