Interface RestEndpointBuilderFactory.RestEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,RestEndpointBuilderFactory.RestEndpointConsumerBuilder
,RestEndpointBuilderFactory.RestEndpointProducerBuilder
- Enclosing interface:
- RestEndpointBuilderFactory
public static interface RestEndpointBuilderFactory.RestEndpointBuilder
extends RestEndpointBuilderFactory.RestEndpointConsumerBuilder, RestEndpointBuilderFactory.RestEndpointProducerBuilder
Builder for endpoint for the REST component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
Media type such as: 'text/xml', or 'application/json' this REST service accepts.To declare the incoming POJO binding type as a FQN class name.To declare the outgoing POJO binding type as a FQN class name.Media type such as: 'text/xml', or 'application/json' this REST service returns.Name of the route this REST services creates.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.RestEndpointBuilderFactory.RestEndpointConsumerBuilder
consumerComponentName, description
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.RestEndpointBuilderFactory.RestEndpointProducerBuilder
apiDoc, bindingMode, bindingMode, host, producerComponentName, queryParameters
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceRestEndpointBuilderFactory.RestEndpointConsumerBuilder
- Specified by:
advanced
in interfaceRestEndpointBuilderFactory.RestEndpointProducerBuilder
-
consumes
Media type such as: 'text/xml', or 'application/json' this REST service accepts. By default we accept all kinds of types. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
consumes
in interfaceRestEndpointBuilderFactory.RestEndpointConsumerBuilder
- Specified by:
consumes
in interfaceRestEndpointBuilderFactory.RestEndpointProducerBuilder
- Parameters:
consumes
- the value to set- Returns:
- the dsl builder
-
inType
To declare the incoming POJO binding type as a FQN class name. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
inType
in interfaceRestEndpointBuilderFactory.RestEndpointConsumerBuilder
- Specified by:
inType
in interfaceRestEndpointBuilderFactory.RestEndpointProducerBuilder
- Parameters:
inType
- the value to set- Returns:
- the dsl builder
-
outType
To declare the outgoing POJO binding type as a FQN class name. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
outType
in interfaceRestEndpointBuilderFactory.RestEndpointConsumerBuilder
- Specified by:
outType
in interfaceRestEndpointBuilderFactory.RestEndpointProducerBuilder
- Parameters:
outType
- the value to set- Returns:
- the dsl builder
-
produces
Media type such as: 'text/xml', or 'application/json' this REST service returns. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
produces
in interfaceRestEndpointBuilderFactory.RestEndpointConsumerBuilder
- Specified by:
produces
in interfaceRestEndpointBuilderFactory.RestEndpointProducerBuilder
- Parameters:
produces
- the value to set- Returns:
- the dsl builder
-
routeId
Name of the route this REST services creates. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
routeId
in interfaceRestEndpointBuilderFactory.RestEndpointConsumerBuilder
- Specified by:
routeId
in interfaceRestEndpointBuilderFactory.RestEndpointProducerBuilder
- Parameters:
routeId
- the value to set- Returns:
- the dsl builder
-