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
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
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 PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder
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 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()
-
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
-
muteException
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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. The option is a: <code>boolean</code> type. Default: true Group: consumer- Parameters:
muteException
- the value to set- Returns:
- the dsl builder
-
muteException
default PlatformHttpEndpointBuilderFactory.PlatformHttpEndpointBuilder 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. The option will be converted to a <code>boolean</code> type. Default: true Group: consumer- Parameters:
muteException
- 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
-
-