Interface ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
,ResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Enclosing interface:
- ResteasyEndpointBuilderFactory
public static interface ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder
extends ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder, ResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
Builder for endpoint for the Resteasy component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
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.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.Sets the password.proxyClientClass
(String proxyClientClass) Sets the resteasy proxyClientClass.resteasyMethod
(String resteasyMethod) Sets the resteasy method to process the request.servletName
(String servletName) Sets the servlet name.Sets the username.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
async, async, httpMethodRestrict, muteException, muteException, responseBufferSize, responseBufferSize
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.ResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
bridgeEndpoint, bridgeEndpoint, connectionClose, connectionClose, followRedirects, followRedirects, httpMethod, httpMethod, throwExceptionOnFailure, throwExceptionOnFailure
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
advanced
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
-
disableStreamCache
default ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder 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. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or other persistent store. DefaultHttpBinding will copy the request input stream into a stream cache and put it into message body if this option is false to support reading the stream multiple times. If you use Servlet to bridge/proxy an endpoint then consider enabling this option to improve performance, in case you do not need to read the message payload multiple times. The http producer will by default cache the response body stream. If setting this option to true, then the producers will not cache the response body stream but use the response stream as-is as the message body. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
disableStreamCache
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
disableStreamCache
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
disableStreamCache
- the value to set- Returns:
- the dsl builder
-
disableStreamCache
default ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder 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. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or other persistent store. DefaultHttpBinding will copy the request input stream into a stream cache and put it into message body if this option is false to support reading the stream multiple times. If you use Servlet to bridge/proxy an endpoint then consider enabling this option to improve performance, in case you do not need to read the message payload multiple times. The http producer will by default cache the response body stream. If setting this option to true, then the producers will not cache the response body stream but use the response stream as-is as the message body. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
disableStreamCache
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
disableStreamCache
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
disableStreamCache
- the value to set- Returns:
- the dsl builder
-
resteasyMethod
default ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder resteasyMethod(String resteasyMethod) Sets the resteasy method to process the request. The option is a: <code>java.lang.String</code> type. Default: GET Group: common- Specified by:
resteasyMethod
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
resteasyMethod
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
resteasyMethod
- the value to set- Returns:
- the dsl builder
-
servletName
Sets the servlet name. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
servletName
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
servletName
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
servletName
- the value to set- Returns:
- the dsl builder
-
proxyClientClass
default ResteasyEndpointBuilderFactory.ResteasyEndpointBuilder proxyClientClass(String proxyClientClass) Sets the resteasy proxyClientClass. The option is a: <code>java.lang.String</code> type. Group: proxy- Specified by:
proxyClientClass
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
proxyClientClass
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
proxyClientClass
- the value to set- Returns:
- the dsl builder
-
password
Sets the password. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
password
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
password
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
username
Sets the username. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
username
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
- Specified by:
username
in interfaceResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
- Parameters:
username
- the value to set- Returns:
- the dsl builder
-