org.apache.camel.component.restlet
Class RestletOperationException

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.restlet.RestletOperationException
All Implemented Interfaces:
Serializable

public class RestletOperationException
extends org.apache.camel.CamelException
implements Serializable

See Also:
Serialized Form

Constructor Summary
RestletOperationException(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()
           
 
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

RestletOperationException

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

getRedirectLocation

public String getRedirectLocation()

getResponseBody

public String getResponseBody()

getResponseHeaders

public Map<String,String> getResponseHeaders()

getStatusCode

public int getStatusCode()

getStatusText

public String getStatusText()

getUri

public String getUri()


Apache Camel