public static interface ServletEndpointBuilderFactory.ServletEndpointBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default ServletEndpointBuilderFactory.AdvancedServletEndpointBuilder |
advanced() |
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
async(boolean async)
Configure the consumer to work in async mode.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
async(String async)
Configure the consumer to work in async mode.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
chunked(boolean chunked)
If this option is false the Servlet will disable the HTTP streaming
and set the content-length header on the response.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
chunked(String chunked)
If this option is false the Servlet will disable the HTTP streaming
and set the content-length header on the response.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
disableStreamCache(boolean disableStreamCache)
Determines whether or not the raw input stream from Servlet is cached
or not (Camel will read the stream into a in memory/overflow to file,
Stream caching) cache.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
disableStreamCache(String disableStreamCache)
Determines whether or not the raw input stream from Servlet is cached
or not (Camel will read the stream into a in memory/overflow to file,
Stream caching) cache.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from
Camel message.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from
Camel message.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
httpMethodRestrict(String httpMethodRestrict)
Used to only allow consuming if the HttpMethod matches, such as
GET/POST/PUT etc.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
matchOnUriPrefix(boolean matchOnUriPrefix)
Whether or not the consumer should try to find a target consumer by
matching the URI prefix if no exact match is found.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
matchOnUriPrefix(String matchOnUriPrefix)
Whether or not the consumer should try to find a target consumer by
matching the URI prefix if no exact match is found.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
muteException(boolean muteException)
If enabled and an Exchange failed processing on the consumer side the
response's body won't contain the exception's stack trace.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
muteException(String muteException)
If enabled and an Exchange failed processing on the consumer side the
response's body won't contain the exception's stack trace.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
responseBufferSize(Integer responseBufferSize)
To use a custom buffer size on the javax.servlet.ServletResponse.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
responseBufferSize(String responseBufferSize)
To use a custom buffer size on the javax.servlet.ServletResponse.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
servletName(String servletName)
Name of the servlet to use.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
transferException(boolean transferException)
If enabled and an Exchange failed processing on the consumer side,
and if the caused Exception was send back serialized in the response
as a application/x-java-serialized-object content type.
|
default ServletEndpointBuilderFactory.ServletEndpointBuilder |
transferException(String transferException)
If enabled and an Exchange failed processing on the consumer side,
and if the caused Exception was send back serialized in the response
as a application/x-java-serialized-object content type.
|
default ServletEndpointBuilderFactory.AdvancedServletEndpointBuilder advanced()
default ServletEndpointBuilderFactory.ServletEndpointBuilder chunked(boolean chunked)
chunked - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder chunked(String chunked)
chunked - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder disableStreamCache(boolean disableStreamCache)
disableStreamCache - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder disableStreamCache(String disableStreamCache)
disableStreamCache - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
headerFilterStrategy - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder headerFilterStrategy(String headerFilterStrategy)
headerFilterStrategy - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder async(boolean async)
async - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder async(String async)
async - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder httpMethodRestrict(String httpMethodRestrict)
httpMethodRestrict - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder matchOnUriPrefix(boolean matchOnUriPrefix)
matchOnUriPrefix - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder matchOnUriPrefix(String matchOnUriPrefix)
matchOnUriPrefix - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder muteException(boolean muteException)
muteException - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder muteException(String muteException)
muteException - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder responseBufferSize(Integer responseBufferSize)
responseBufferSize - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder responseBufferSize(String responseBufferSize)
responseBufferSize - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder servletName(String servletName)
servletName - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder transferException(boolean transferException)
transferException - the value to setdefault ServletEndpointBuilderFactory.ServletEndpointBuilder transferException(String transferException)
transferException - the value to setApache Camel