Interface RestEndpointBuilderFactory.RestBuilders

    • 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 name
        path - method:path:uriTemplate
        Returns:
        the dsl builder