org.apache.camel.component.gae.http
Class GHttpEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.impl.DefaultPollingEndpoint
org.apache.camel.component.http.HttpEndpoint
org.apache.camel.component.servlet.ServletEndpoint
org.apache.camel.component.gae.http.GHttpEndpoint
- All Implemented Interfaces:
- CamelContextAware, OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>, Endpoint, IsSingleton, HeaderFilterStrategyAware
public class GHttpEndpoint
- extends ServletEndpoint
- implements OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>
Represents a Google App Engine
HTTP endpoint.
| Methods inherited from class org.apache.camel.component.http.HttpEndpoint |
connect, createHttpClient, createPollingConsumer, disconnect, getAuthMethodPriority, getClientParams, getHeaderFilterStrategy, getHttpClientConfigurer, getHttpConnectionManager, getHttpUri, getPath, getPort, getProtocol, getProxyHost, getProxyPort, isBridgeEndpoint, isChunked, isDisableStreamCache, isLenientProperties, isMatchOnUriPrefix, isSingleton, isThrowExceptionOnFailure, setAuthMethodPriority, setBinding, setBridgeEndpoint, setChunked, setClientParams, setDisableStreamCache, setHeaderFilterStrategy, setHttpClientConfigurer, setHttpConnectionManager, setHttpUri, setMatchOnUriPrefix, setProxyHost, setProxyPort, setThrowExceptionOnFailure |
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
createEndpointUri, createExchange, createExchange, createExchange, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
GHTTP_SCHEME
public static final String GHTTP_SCHEME
- See Also:
- Constant Field Values
GHTTPS_SCHEME
public static final String GHTTPS_SCHEME
- See Also:
- Constant Field Values
HTTP_SCHEME
public static final String HTTP_SCHEME
- See Also:
- Constant Field Values
HTTPS_SCHEME
public static final String HTTPS_SCHEME
- See Also:
- Constant Field Values
GHttpEndpoint
public GHttpEndpoint(String endpointUri,
ServletComponent component,
URI httpUri,
org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager,
HttpClientConfigurer clientConfigurer)
throws URISyntaxException
- Throws:
URISyntaxException
getEndpointUrl
public URL getEndpointUrl()
throws Exception
- Throws:
Exception
getUrlFetchService
public com.google.appengine.api.urlfetch.URLFetchService getUrlFetchService()
setUrlFetchService
public void setUrlFetchService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService)
getOutboundBinding
public OutboundBinding<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse> getOutboundBinding()
- Specified by:
getOutboundBinding in interface OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>
setOutboundBinding
public void setOutboundBinding(OutboundBinding<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse> outboundBinding)
- Specified by:
setOutboundBinding in interface OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>
getInboundBinding
public InboundBinding<GHttpEndpoint,HttpServletRequest,HttpServletResponse> getInboundBinding()
setInboundBinding
public void setInboundBinding(InboundBinding<GHttpEndpoint,HttpServletRequest,HttpServletResponse> inboundBinding)
getBinding
public HttpBinding getBinding()
- Proxies the
HttpBinding returned by super#getBinding()
with a dynamic proxy. The proxy's invocation handler further delegates to
InboundBinding.readRequest(org.apache.camel.Endpoint, Exchange, Object)
.
- Overrides:
getBinding in class HttpEndpoint
- Returns:
- proxied
HttpBinding.
createProducer
public Producer createProducer()
throws Exception
- Specified by:
createProducer in interface Endpoint- Overrides:
createProducer in class ServletEndpoint
- Throws:
Exception
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.