org.apache.camel.component.http
Class HttpOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.component.http.HttpOperationFailedException
- All Implemented Interfaces:
- Serializable
public class HttpOperationFailedException
- extends CamelException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HttpOperationFailedException
public HttpOperationFailedException(int statusCode,
org.apache.commons.httpclient.StatusLine statusLine,
String location,
org.apache.commons.httpclient.Header[] responseHeaders,
InputStream responseBody)
HttpOperationFailedException
public HttpOperationFailedException(int statusCode,
org.apache.commons.httpclient.StatusLine statusLine,
org.apache.commons.httpclient.Header[] responseHeaders,
InputStream responseBody)
isRedirectError
public boolean isRedirectError()
hasRedirectLocation
public boolean hasRedirectLocation()
getRedirectLocation
public String getRedirectLocation()
getStatusLine
public org.apache.commons.httpclient.StatusLine getStatusLine()
getStatusCode
public int getStatusCode()
getResponseHeaders
public org.apache.commons.httpclient.Header[] getResponseHeaders()
getResponseBody
public InputStream getResponseBody()
Copyright © 2009 Apache Software Foundation. All Rights Reserved.