Interface PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- Enclosing interface:
- PlatformHttpEndpointBuilderFactory
public static interface PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint for the Platform HTTP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PlatformHttpEndpointBuilderFactory.AdvancedPlatformHttpEndpointBuilder
advanced()
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
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 PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
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 PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
consumes(String consumes)
The content type this endpoint accepts as an input, such as application/xml or application/json.default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
httpMethodRestrict(String httpMethodRestrict)
A comma separated list of HTTP methods to serve, e.g.default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
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 PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
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 PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
produces(String produces)
The content type this endpoint produces, such as application/xml or application/json.
-
-
-
Method Detail
-
advanced
default PlatformHttpEndpointBuilderFactory.AdvancedPlatformHttpEndpointBuilder advanced()
-
bridgeErrorHandler
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
consumes
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder consumes(String consumes)
The content type this endpoint accepts as an input, such as application/xml or application/json. null or &#42;/&#42; mean no restriction. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
consumes
- the value to set- Returns:
- the dsl builder
-
httpMethodRestrict
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder httpMethodRestrict(String httpMethodRestrict)
A comma separated list of HTTP methods to serve, e.g. GET,POST . If no methods are specified, all methods will be served. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
httpMethodRestrict
- the value to set- Returns:
- the dsl builder
-
matchOnUriPrefix
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
matchOnUriPrefix
- the value to set- Returns:
- the dsl builder
-
matchOnUriPrefix
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
matchOnUriPrefix
- the value to set- Returns:
- the dsl builder
-
produces
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder produces(String produces)
The content type this endpoint produces, such as application/xml or application/json. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
produces
- the value to set- Returns:
- the dsl builder
-
-