org.apache.camel.component.http4
Class HttpOperationFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.camel.CamelException
              extended by org.apache.camel.component.http4.HttpOperationFailedException
All Implemented Interfaces:
Serializable

public class HttpOperationFailedException
extends CamelException

See Also:
Serialized Form

Constructor Summary
HttpOperationFailedException(String uri, int statusCode, String statusText, String location, Map<String,String> responseHeaders, String responseBody)
           
 
Method Summary
 String getRedirectLocation()
           
 String getResponseBody()
           
 Map<String,String> getResponseHeaders()
           
 int getStatusCode()
           
 String getStatusText()
           
 String getUri()
           
 boolean hasRedirectLocation()
           
 boolean isRedirectError()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HttpOperationFailedException

public HttpOperationFailedException(String uri,
                                    int statusCode,
                                    String statusText,
                                    String location,
                                    Map<String,String> responseHeaders,
                                    String responseBody)
Method Detail

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()


Apache CAMEL