@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, getHttpBinding, getHttpMethodRestrict, getHttpUri, getOkStatusCodeRange, getPath, getPort, getProtocol, getProxyHost, getProxyPort, getResponseBufferSize, getUrlRewrite, isBridgeEndpoint, isChunked, isCopyHeaders, isDisableStreamCache, isEagerCheckContentAvailable, isIgnoreResponseBody, isMatchOnUriPrefix, isOptionsEnabled, isPreserveHostHeader, isSingleton, isThrowExceptionOnFailure, isTraceEnabled, isTransferException, setAuthMethodPriority, setBinding, setBridgeEndpoint, setChunked, setCopyHeaders, setDisableStreamCache, setEagerCheckContentAvailable, setHeaderFilterStrategy, setHttpBinding, setHttpMethodRestrict, setHttpUri, setIgnoreResponseBody, setMatchOnUriPrefix, setOkStatusCodeRange, setOptionsEnabled, setPreserveHostHeader, setProxyHost, setProxyPort, setResponseBufferSize, setThrowExceptionOnFailure, setTraceEnabled, setTransferException, setUrlRewriteconfigureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic ServletEndpoint()
public ServletEndpoint(String endPointURI, ServletComponent component, URI httpUri) throws URISyntaxException
URISyntaxExceptionpublic 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
Exceptionpublic boolean isLenientProperties()
isLenientProperties in interface org.apache.camel.EndpointisLenientProperties in class org.apache.camel.http.common.HttpCommonEndpointApache Camel