@UriEndpoint(scheme="ghttp", syntax="ghttp:httpUri", producerOnly=true, label="cloud") public class GHttpEndpoint extends org.apache.camel.component.servlet.ServletEndpoint implements OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>
Modifier and Type | Field and Description |
---|---|
static String |
GHTTP_SCHEME |
static String |
GHTTPS_SCHEME |
static String |
HTTP_SCHEME |
static String |
HTTPS_SCHEME |
Constructor and Description |
---|
GHttpEndpoint(String endpointUri,
org.apache.camel.component.servlet.ServletComponent component,
URI httpUri,
org.apache.commons.httpclient.params.HttpClientParams params,
org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager,
org.apache.camel.component.http.HttpClientConfigurer clientConfigurer) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Producer |
createProducer() |
org.apache.camel.component.http.HttpBinding |
getBinding()
Proxies the
HttpBinding returned by super#getBinding()
with a dynamic proxy. |
URL |
getEndpointUrl() |
InboundBinding<GHttpEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> |
getInboundBinding() |
OutboundBinding<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse> |
getOutboundBinding() |
com.google.appengine.api.urlfetch.URLFetchService |
getUrlFetchService() |
boolean |
isLenientProperties() |
void |
setInboundBinding(InboundBinding<GHttpEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> inboundBinding) |
void |
setOutboundBinding(OutboundBinding<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse> outboundBinding) |
void |
setUrlFetchService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService) |
createConsumer, getServletName, setServletName
connect, createHttpClient, createPollingConsumer, disconnect, getAuthMethodPriority, getClientParams, getHeaderFilterStrategy, getHttpClientConfigurer, getHttpConnectionManager, getHttpMethodRestrict, getHttpUri, getPath, getPort, getProtocol, getProxyHost, getProxyPort, getResponseBufferSize, getUrlRewrite, isBridgeEndpoint, isChunked, isDisableStreamCache, isMatchOnUriPrefix, isSingleton, isThrowExceptionOnFailure, isTraceEnabled, isTransferException, setAuthMethodPriority, setBinding, setBridgeEndpoint, setChunked, setClientParams, setDisableStreamCache, setHeaderFilterStrategy, setHttpClientConfigurer, setHttpConnectionManager, setHttpMethodRestrict, setHttpUri, setMatchOnUriPrefix, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferException, setUrlRewrite
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerQueueSize, hashCode, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public static final String GHTTP_SCHEME
public static final String GHTTPS_SCHEME
public static final String HTTP_SCHEME
public static final String HTTPS_SCHEME
public GHttpEndpoint(String endpointUri, org.apache.camel.component.servlet.ServletComponent component, URI httpUri, org.apache.commons.httpclient.params.HttpClientParams params, org.apache.commons.httpclient.HttpConnectionManager httpConnectionManager, org.apache.camel.component.http.HttpClientConfigurer clientConfigurer) throws URISyntaxException
URISyntaxException
public com.google.appengine.api.urlfetch.URLFetchService getUrlFetchService()
public void setUrlFetchService(com.google.appengine.api.urlfetch.URLFetchService urlFetchService)
public OutboundBinding<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse> getOutboundBinding()
getOutboundBinding
in interface OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>
public void setOutboundBinding(OutboundBinding<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse> outboundBinding)
setOutboundBinding
in interface OutboundBindingSupport<GHttpEndpoint,com.google.appengine.api.urlfetch.HTTPRequest,com.google.appengine.api.urlfetch.HTTPResponse>
public InboundBinding<GHttpEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> getInboundBinding()
public void setInboundBinding(InboundBinding<GHttpEndpoint,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse> inboundBinding)
public org.apache.camel.component.http.HttpBinding getBinding()
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)
.getBinding
in class org.apache.camel.component.http.HttpEndpoint
HttpBinding
.public org.apache.camel.Producer createProducer() throws Exception
createProducer
in interface org.apache.camel.Endpoint
createProducer
in class org.apache.camel.component.servlet.ServletEndpoint
Exception
public boolean isLenientProperties()
isLenientProperties
in interface org.apache.camel.Endpoint
isLenientProperties
in class org.apache.camel.component.servlet.ServletEndpoint
Apache Camel