Interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointBuilder
- Enclosing interface:
- ResteasyEndpointBuilderFactory
public static interface ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the Resteasy component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder
basic()
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
eagerCheckContentAvailable(boolean eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
eagerCheckContentAvailable(String eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageBody(boolean mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageBody(String mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageFormUrlEncodedBody(boolean mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageFormUrlEncodedBody(String mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageHeaders(boolean mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
mapHttpMessageHeaders(String mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
optionsEnabled(boolean optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
optionsEnabled(String optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
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.AdvancedResteasyEndpointConsumerBuilder
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.AdvancedResteasyEndpointConsumerBuilder
skipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
skipServletProcessing(String skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
traceEnabled(boolean traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
traceEnabled(String traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
useSystemProperties(boolean useSystemProperties)
To use System Properties as fallback for configuration.default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder
useSystemProperties(String useSystemProperties)
To use System Properties as fallback for configuration.
-
-
-
Method Detail
-
basic
default ResteasyEndpointBuilderFactory.ResteasyEndpointConsumerBuilder basic()
-
eagerCheckContentAvailable
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder eagerCheckContentAvailable(boolean eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present. This can be turned on in case HTTP clients do not send streamed data. The option is a:boolean
type. Default: false Group: consumer (advanced)
-
eagerCheckContentAvailable
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder eagerCheckContentAvailable(String eagerCheckContentAvailable)
Whether to eager check whether the HTTP requests has content if the content-length header is 0 or not present. This can be turned on in case HTTP clients do not send streamed data. The option will be converted to aboolean
type. Default: false Group: consumer (advanced)
-
exceptionHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:org.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exceptionHandler
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option is a:org.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
exchangePattern
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
optionsEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder optionsEnabled(boolean optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default OPTIONS is turned off. The option is a:boolean
type. Default: false Group: consumer (advanced)
-
optionsEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder optionsEnabled(String optionsEnabled)
Specifies whether to enable HTTP OPTIONS for this Servlet consumer. By default OPTIONS is turned off. The option will be converted to aboolean
type. Default: false Group: consumer (advanced)
-
traceEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder traceEnabled(boolean traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer. By default TRACE is turned off. The option is a:boolean
type. Default: false Group: consumer (advanced)
-
traceEnabled
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder traceEnabled(String traceEnabled)
Specifies whether to enable HTTP TRACE for this Servlet consumer. By default TRACE is turned off. The option will be converted to aboolean
type. Default: false Group: consumer (advanced)
-
headerFilterStrategy
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a:org.apache.camel.spi.HeaderFilterStrategy
type. Group: advanced
-
headerFilterStrategy
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to aorg.apache.camel.spi.HeaderFilterStrategy
type. Group: advanced
-
mapHttpMessageBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageBody(boolean mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body. Setting this to false will avoid the HTTP mapping. The option is a:boolean
type. Default: true Group: advanced
-
mapHttpMessageBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageBody(String mapHttpMessageBody)
If this option is true then IN exchange Body of the exchange will be mapped to HTTP body. Setting this to false will avoid the HTTP mapping. The option will be converted to aboolean
type. Default: true Group: advanced
-
mapHttpMessageFormUrlEncodedBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageFormUrlEncodedBody(boolean mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP. Setting this to false will avoid the HTTP Form Encoded body mapping. The option is a:boolean
type. Default: true Group: advanced
-
mapHttpMessageFormUrlEncodedBody
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageFormUrlEncodedBody(String mapHttpMessageFormUrlEncodedBody)
If this option is true then IN exchange Form Encoded body of the exchange will be mapped to HTTP. Setting this to false will avoid the HTTP Form Encoded body mapping. The option will be converted to aboolean
type. Default: true Group: advanced
-
mapHttpMessageHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageHeaders(boolean mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers. Setting this to false will avoid the HTTP Headers mapping. The option is a:boolean
type. Default: true Group: advanced
-
mapHttpMessageHeaders
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder mapHttpMessageHeaders(String mapHttpMessageHeaders)
If this option is true then IN exchange Headers of the exchange will be mapped to HTTP headers. Setting this to false will avoid the HTTP Headers mapping. The option will be converted to aboolean
type. Default: true Group: advanced
-
setHttpResponseDuringProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder 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:java.lang.Boolean
type. Group: advanced
-
setHttpResponseDuringProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder 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 ajava.lang.Boolean
type. Group: advanced
-
skipServletProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder skipServletProcessing(Boolean skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing. The option is a:java.lang.Boolean
type. Group: advanced
-
skipServletProcessing
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder skipServletProcessing(String skipServletProcessing)
Sets the flag to use skip servlet processing and let camel take over processing. The option will be converted to ajava.lang.Boolean
type. Group: advanced
-
synchronous
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a:boolean
type. Default: false Group: advanced
-
synchronous
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to aboolean
type. Default: false Group: advanced
-
useSystemProperties
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder useSystemProperties(boolean useSystemProperties)
To use System Properties as fallback for configuration. The option is a:boolean
type. Default: false Group: advanced
-
useSystemProperties
default ResteasyEndpointBuilderFactory.AdvancedResteasyEndpointConsumerBuilder useSystemProperties(String useSystemProperties)
To use System Properties as fallback for configuration. The option will be converted to aboolean
type. Default: false Group: advanced
-
-