public static interface SparkEndpointBuilderFactory.SparkBuilders
| Modifier and Type | Method and Description |
|---|---|
default SparkEndpointBuilderFactory.SparkEndpointBuilder |
sparkRest(String path)
Spark Rest (camel-spark-rest)
The spark-rest component is used for hosting REST services which has
been defined using Camel rest-dsl.
|
default SparkEndpointBuilderFactory.SparkEndpointBuilder sparkRest(String path)
spark-rest:verb:path
Path parameter: verb (required)
get, post, put, patch, delete, head, trace, connect, or options.
The value can be one of: get, post, put, patch, delete, head, trace,
connect, options
Path parameter: path (required)
The content path which support Spark syntax.Apache Camel