Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.component.rest |
The REST Component for defining REST services, supporting
the Camel Rest DSL.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.model.rest |
The JAXB POJOs for the REST DSL
|
org.apache.camel.spi |
Service Provider Interfaces used internally by the Camel runtime which are plugin strategies.
|
Modifier and Type | Method and Description |
---|---|
RestConfiguration |
CamelContext.getRestConfiguration()
Gets the default REST configuration
|
RestConfiguration |
CamelContext.getRestConfiguration(String component,
boolean defaultIfNotFound)
Gets the REST configuration for the given component
|
Modifier and Type | Method and Description |
---|---|
Collection<RestConfiguration> |
CamelContext.getRestConfigurations()
Gets all the RestConfiguration's
|
Modifier and Type | Method and Description |
---|---|
void |
CamelContext.addRestConfiguration(RestConfiguration restConfiguration)
Sets a custom
RestConfiguration |
void |
CamelContext.setRestConfiguration(RestConfiguration restConfiguration)
Sets a custom
RestConfiguration |
Constructor and Description |
---|
RestProducer(Endpoint endpoint,
Producer producer,
RestConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
RestConfiguration |
DefaultCamelContext.getRestConfiguration() |
RestConfiguration |
DefaultCamelContext.getRestConfiguration(String component,
boolean defaultIfNotExist) |
Modifier and Type | Method and Description |
---|---|
Collection<RestConfiguration> |
DefaultCamelContext.getRestConfigurations() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultCamelContext.addRestConfiguration(RestConfiguration restConfiguration) |
void |
DefaultCamelContext.setRestConfiguration(RestConfiguration restConfiguration) |
Modifier and Type | Method and Description |
---|---|
RestConfiguration |
RestConfigurationDefinition.asRestConfiguration(CamelContext context)
Creates a
RestConfiguration instance based on the definition |
Modifier and Type | Method and Description |
---|---|
static RouteDefinition |
RestDefinition.asRouteApiDefinition(CamelContext camelContext,
RestConfiguration configuration)
Transforms the rest api configuration into a
RouteDefinition which
Camel routing engine uses to service the rest api docs. |
List<RouteDefinition> |
RestDefinition.asRouteDefinition(CamelContext camelContext,
RestConfiguration restConfiguration)
Transforms this REST definition into a list of
RouteDefinition which
Camel routing engine can add and run. |
Modifier and Type | Method and Description |
---|---|
Consumer |
RestApiConsumerFactory.createApiConsumer(CamelContext camelContext,
Processor processor,
String contextPath,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST API Event
Driven Consumer, which provides API listing of the REST services
|
Processor |
RestApiProcessorFactory.createApiProcessor(CamelContext camelContext,
String contextPath,
String contextIdPattern,
boolean contextIdListing,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST API Processor
, which provides API listing of the REST services
|
Consumer |
RestConsumerFactory.createConsumer(CamelContext camelContext,
Processor processor,
String verb,
String basePath,
String uriTemplate,
String consumes,
String produces,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST Event
Driven Consumer, which consumes messages from the endpoint using the given processor
|
Producer |
RestProducerFactory.createProducer(CamelContext camelContext,
String host,
String verb,
String basePath,
String uriTemplate,
String queryParameters,
String consumes,
String produces,
RestConfiguration configuration,
Map<String,Object> parameters)
Creates a new REST producer.
|
Apache Camel