Interface RestEndpointBuilderFactory.RestBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- RestEndpointBuilderFactory
public static interface RestEndpointBuilderFactory.RestBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RestEndpointBuilderFactory.RestEndpointBuilder
restEndpoint(String path)
REST (camel-rest) Expose REST services or call external REST services.default RestEndpointBuilderFactory.RestEndpointBuilder
restEndpoint(String componentName, String path)
REST (camel-rest) Expose REST services or call external REST services.
-
-
-
Method Detail
-
restEndpoint
default RestEndpointBuilderFactory.RestEndpointBuilder restEndpoint(String path)
REST (camel-rest) Expose REST services or call external REST services. Category: core,rest Since: 2.14 Maven coordinates: org.apache.camel:camel-rest Syntax:rest:method:path:uriTemplate
Path parameter: method (required) HTTP method to use. There are 9 enums and the value can be one of: get, post, put, delete, patch, head, trace, connect, options Path parameter: path (required) The base path Path parameter: uriTemplate The uri template- Parameters:
path
- method:path:uriTemplate- Returns:
- the dsl builder
-
restEndpoint
default RestEndpointBuilderFactory.RestEndpointBuilder restEndpoint(String componentName, String path)
REST (camel-rest) Expose REST services or call external REST services. Category: core,rest Since: 2.14 Maven coordinates: org.apache.camel:camel-rest Syntax:rest:method:path:uriTemplate
Path parameter: method (required) HTTP method to use. There are 9 enums and the value can be one of: get, post, put, delete, patch, head, trace, connect, options Path parameter: path (required) The base path Path parameter: uriTemplate The uri template- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- method:path:uriTemplate- Returns:
- the dsl builder
-
-