Interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointBuilder
- Enclosing interface:
- ResteasyEndpointBuilderFactory
public static interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint producers for the Resteasy component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder
basic()
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
cookieHandler(String cookieHandler)
Configure a cookie handler to maintain a HTTP session.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
cookieHandler(org.apache.camel.http.base.cookie.CookieHandler cookieHandler)
Configure a cookie handler to maintain a HTTP session.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
deleteWithBody(boolean deleteWithBody)
Whether the HTTP DELETE should include the message body or not.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
deleteWithBody(String deleteWithBody)
Whether the HTTP DELETE should include the message body or not.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
followRedirects(boolean followRedirects)
Whether to the HTTP request should follow redirects.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
followRedirects(String followRedirects)
Whether to the HTTP request should follow redirects.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
getWithBody(boolean getWithBody)
Whether the HTTP GET should include the message body or not.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
getWithBody(String getWithBody)
Whether the HTTP GET should include the message body or not.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
okStatusCodeRange(String okStatusCodeRange)
The status codes which are considered a success response.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
setHttpResponseDuringProcessing(Boolean setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
setHttpResponseDuringProcessing(String setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
skipRequestHeaders(boolean skipRequestHeaders)
Whether to skip mapping all the Camel headers as HTTP request headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
skipRequestHeaders(String skipRequestHeaders)
Whether to skip mapping all the Camel headers as HTTP request headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
skipResponseHeaders(boolean skipResponseHeaders)
Whether to skip mapping all the HTTP response headers to Camel headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
skipResponseHeaders(String skipResponseHeaders)
Whether to skip mapping all the HTTP response headers to Camel headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
skipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
skipServletProcessing(String skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
userAgent(String userAgent)
To set a custom HTTP User-Agent request header.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
useSystemProperties(boolean useSystemProperties)
To use System Properties as fallback for configuration.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder
useSystemProperties(String useSystemProperties)
To use System Properties as fallback for configuration.
-
-
-
Method Detail
-
basic
default ResteasyEndpointBuilderFactory.ResteasyEndpointProducerBuilder basic()
-
cookieHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder cookieHandler(org.apache.camel.http.base.cookie.CookieHandler cookieHandler)
Configure a cookie handler to maintain a HTTP session. The option is a: <code>org.apache.camel.http.base.cookie.CookieHandler</code> type. Group: producer (advanced)- Parameters:
cookieHandler
- the value to set- Returns:
- the dsl builder
-
cookieHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder cookieHandler(String cookieHandler)
Configure a cookie handler to maintain a HTTP session. The option will be converted to a <code>org.apache.camel.http.base.cookie.CookieHandler</code> type. Group: producer (advanced)- Parameters:
cookieHandler
- the value to set- Returns:
- the dsl builder
-
deleteWithBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder deleteWithBody(boolean deleteWithBody)
Whether the HTTP DELETE should include the message body or not. By default HTTP DELETE do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
deleteWithBody
- the value to set- Returns:
- the dsl builder
-
deleteWithBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder deleteWithBody(String deleteWithBody)
Whether the HTTP DELETE should include the message body or not. By default HTTP DELETE do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
deleteWithBody
- the value to set- Returns:
- the dsl builder
-
followRedirects
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder followRedirects(boolean followRedirects)
Whether to the HTTP request should follow redirects. By default the HTTP request does not follow redirects. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
followRedirects
- the value to set- Returns:
- the dsl builder
-
followRedirects
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder followRedirects(String followRedirects)
Whether to the HTTP request should follow redirects. By default the HTTP request does not follow redirects. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
followRedirects
- the value to set- Returns:
- the dsl builder
-
getWithBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder getWithBody(boolean getWithBody)
Whether the HTTP GET should include the message body or not. By default HTTP GET do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
getWithBody
- the value to set- Returns:
- the dsl builder
-
getWithBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder getWithBody(String getWithBody)
Whether the HTTP GET should include the message body or not. By default HTTP GET do not include any HTTP body. However in some rare cases users may need to be able to include the message body. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
getWithBody
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
okStatusCodeRange
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder okStatusCodeRange(String okStatusCodeRange)
The status codes which are considered a success response. The values are inclusive. Multiple ranges can be defined, separated by comma, e.g. 200-204,209,301-304. Each range must be a single number or from-to with the dash included. The option is a: <code>java.lang.String</code> type. Default: 200-299 Group: producer (advanced)- Parameters:
okStatusCodeRange
- the value to set- Returns:
- the dsl builder
-
skipRequestHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipRequestHeaders(boolean skipRequestHeaders)
Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
skipRequestHeaders
- the value to set- Returns:
- the dsl builder
-
skipRequestHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipRequestHeaders(String skipRequestHeaders)
Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
skipRequestHeaders
- the value to set- Returns:
- the dsl builder
-
skipResponseHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipResponseHeaders(boolean skipResponseHeaders)
Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
skipResponseHeaders
- the value to set- Returns:
- the dsl builder
-
skipResponseHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipResponseHeaders(String skipResponseHeaders)
Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
skipResponseHeaders
- the value to set- Returns:
- the dsl builder
-
userAgent
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder userAgent(String userAgent)
To set a custom HTTP User-Agent request header. The option is a: <code>java.lang.String</code> type. Group: producer (advanced)- Parameters:
userAgent
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced- Parameters:
headerFilterStrategy
- the value to set- Returns:
- the dsl builder
-
setHttpResponseDuringProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder setHttpResponseDuringProcessing(Boolean setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. The option is a: <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
setHttpResponseDuringProcessing
- the value to set- Returns:
- the dsl builder
-
setHttpResponseDuringProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder setHttpResponseDuringProcessing(String setHttpResponseDuringProcessing)
Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
setHttpResponseDuringProcessing
- the value to set- Returns:
- the dsl builder
-
skipServletProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing. The option is a: <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
skipServletProcessing
- the value to set- Returns:
- the dsl builder
-
skipServletProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder skipServletProcessing(String skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing. The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
skipServletProcessing
- the value to set- Returns:
- the dsl builder
-
useSystemProperties
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder useSystemProperties(boolean useSystemProperties)
To use System Properties as fallback for configuration. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
useSystemProperties
- the value to set- Returns:
- the dsl builder
-
useSystemProperties
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointProducerBuilder useSystemProperties(String useSystemProperties)
To use System Properties as fallback for configuration. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Parameters:
useSystemProperties
- the value to set- Returns:
- the dsl builder
-
-