org.apache.camel.component.gae.http
Class GHttpException

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.gae.http.GHttpException
All Implemented Interfaces:
Serializable

public class GHttpException
extends CamelException

Thrown to indicate a response code >=400.

See Also:
Serialized Form

Constructor Summary
GHttpException(int responseCode, InputStream responseBody, Map<String,Object> responseHeaders)
           
 
Method Summary
 InputStream getResponseBody()
           
 int getResponseCode()
           
 Map<String,Object> getResponseHeaders()
           
 
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

GHttpException

public GHttpException(int responseCode,
                      InputStream responseBody,
                      Map<String,Object> responseHeaders)
Method Detail

getResponseCode

public int getResponseCode()

getResponseBody

public InputStream getResponseBody()

getResponseHeaders

public Map<String,Object> getResponseHeaders()


Apache CAMEL