@UriEndpoint(scheme="servlet", extendsScheme="http", title="Servlet", syntax="servlet:contextPath", consumerOnly=true, consumerClass=ServletConsumer.class, label="http") public class ServletEndpoint extends org.apache.camel.http.common.HttpCommonEndpoint
Constructor and Description |
---|
ServletEndpoint() |
ServletEndpoint(String endPointURI,
ServletComponent component,
URI httpUri) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getContextPath() |
String |
getServletName() |
boolean |
isLenientProperties() |
void |
setContextPath(String contextPath)
The context-path to use
|
void |
setServletName(String name)
Name of the servlet to use
|
connect, disconnect, getAuthMethodPriority, getBinding, getComponent, getHeaderFilterStrategy, getHttpMethodRestrict, getHttpUri, getOkStatusCodeRange, getPath, getPort, getProtocol, getProxyHost, getProxyPort, getResponseBufferSize, getUrlRewrite, isBridgeEndpoint, isChunked, isCopyHeaders, isDisableStreamCache, isEagerCheckContentAvailable, isIgnoreResponseBody, isMatchOnUriPrefix, isSingleton, isThrowExceptionOnFailure, isTraceEnabled, isTransferException, setAuthMethodPriority, setBinding, setBridgeEndpoint, setChunked, setCopyHeaders, setDisableStreamCache, setEagerCheckContentAvailable, setHeaderFilterStrategy, setHttpMethodRestrict, setHttpUri, setIgnoreResponseBody, setMatchOnUriPrefix, setOkStatusCodeRange, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferException, setUrlRewrite
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public ServletEndpoint()
public ServletEndpoint(String endPointURI, ServletComponent component, URI httpUri) throws URISyntaxException
URISyntaxException
public String getContextPath()
public void setContextPath(String contextPath)
public void setServletName(String name)
public String getServletName()
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isLenientProperties()
isLenientProperties
in interface org.apache.camel.Endpoint
isLenientProperties
in class org.apache.camel.http.common.HttpCommonEndpoint
Apache Camel