Class HttpOperationFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.http.base.HttpOperationFailedException
All Implemented Interfaces:
Serializable, org.apache.camel.spi.HttpResponseAware

public class HttpOperationFailedException extends org.apache.camel.CamelException implements org.apache.camel.spi.HttpResponseAware
See Also:
  • Constructor Details

  • Method Details

    • getUri

      public String getUri()
    • isRedirectError

      public boolean isRedirectError()
    • hasRedirectLocation

      public boolean hasRedirectLocation()
    • getRedirectLocation

      public String getRedirectLocation()
    • getStatusCode

      public int getStatusCode()
    • getStatusText

      public String getStatusText()
    • getResponseHeaders

      public Map<String,String> getResponseHeaders()
    • getResponseBody

      public String getResponseBody()
    • getHttpResponseCode

      public int getHttpResponseCode()
      Specified by:
      getHttpResponseCode in interface org.apache.camel.spi.HttpResponseAware
    • setHttpResponseCode

      public void setHttpResponseCode(int code)
      Specified by:
      setHttpResponseCode in interface org.apache.camel.spi.HttpResponseAware
    • getHttpResponseStatus

      public String getHttpResponseStatus()
      Specified by:
      getHttpResponseStatus in interface org.apache.camel.spi.HttpResponseAware
    • setHttpResponseStatus

      public void setHttpResponseStatus(String status)
      Specified by:
      setHttpResponseStatus in interface org.apache.camel.spi.HttpResponseAware