Interface RestEndpointBuilderFactory.RestBuilders

All Known Subinterfaces:
EndpointBuilderFactory
All Known Implementing Classes:
EndpointRouteBuilder, EndpointRouteConfigurationBuilder
Enclosing interface:
RestEndpointBuilderFactory

public static interface RestEndpointBuilderFactory.RestBuilders
  • Method Details

    • restEndpoint

      REST (camel-rest) Expose REST services or call external REST services. Category: core,rest Since: 2.14 Maven coordinates: org.apache.camel:camel-rest
      Returns:
      the dsl builder for the headers' name.
    • restEndpoint

      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, can use * as path suffix to support wildcard HTTP route matching. 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, can use * as path suffix to support wildcard HTTP route matching. Path parameter: uriTemplate The uri template
      Parameters:
      componentName - to use a custom component name for the endpoint instead of the default name
      path - method:path:uriTemplate
      Returns:
      the dsl builder