Package | Description |
---|---|
org.apache.camel.builder | |
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.model |
The JAXB POJOs for the
XML
Configuration of the routing rules.
|
org.apache.camel.model.rest |
The JAXB POJOs for the REST DSL
|
Modifier and Type | Method and Description |
---|---|
RestDefinition |
RouteBuilder.rest()
Creates a new REST service
|
RestDefinition |
RouteBuilder.rest(String path)
Creates a new REST service
|
Modifier and Type | Method and Description |
---|---|
protected void |
RouteBuilder.configureRest(RestDefinition rest) |
Modifier and Type | Method and Description |
---|---|
List<RestDefinition> |
DefaultModel.getRestDefinitions() |
List<RestDefinition> |
AbstractModelCamelContext.getRestDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultModel.addRestDefinitions(Collection<RestDefinition> restDefinitions,
boolean addToRoutes) |
void |
AbstractModelCamelContext.addRestDefinitions(Collection<RestDefinition> restDefinitions,
boolean addToRoutes) |
Modifier and Type | Method and Description |
---|---|
RestDefinition |
ProcessorDefinition.endRest()
Ends the current block and returns back to the
rest() DSL. |
RestDefinition |
RouteDefinition.getRestDefinition() |
Modifier and Type | Method and Description |
---|---|
List<RestDefinition> |
Model.getRestDefinitions()
Returns a list of the current REST definitions
|
List<RestDefinition> |
RestContextRefDefinition.lookupRests(org.apache.camel.CamelContext camelContext) |
static List<RestDefinition> |
RestContextRefDefinitionHelper.lookupRests(org.apache.camel.CamelContext camelContext,
String ref)
Lookup the rests from the
RestContextRefDefinition . |
Modifier and Type | Method and Description |
---|---|
void |
RouteDefinition.setRestDefinition(RestDefinition restDefinition) |
Modifier and Type | Method and Description |
---|---|
void |
Model.addRestDefinitions(Collection<RestDefinition> restDefinitions,
boolean addToRoutes)
Adds a collection of rest definitions to the context
|
Modifier and Type | Method and Description |
---|---|
RestDefinition |
RestDefinition.apiDocs(Boolean apiDocs)
Include or exclude the current Rest Definition in API documentation.
|
RestDefinition |
RestDefinition.bindingMode(RestBindingMode mode) |
RestDefinition |
RestDefinition.bindingMode(String mode) |
RestDefinition |
RestDefinition.clientRequestValidation(boolean clientRequestValidation) |
RestDefinition |
RestDefinition.consumes(String mediaType) |
protected RestDefinition |
RestsDefinition.createRest() |
RestDefinition |
RestDefinition.delete() |
RestDefinition |
VerbDefinition.delete() |
RestDefinition |
RestDefinition.delete(String uri) |
RestDefinition |
VerbDefinition.delete(String uri) |
RestDefinition |
RestDefinition.description(String text) |
RestDefinition |
RestDefinition.description(String id,
String text,
String lang) |
RestDefinition |
RestDefinition.enableCORS(boolean enableCORS) |
RestDefinition |
RestSecuritiesDefinition.end() |
RestDefinition |
RestOperationParamDefinition.endParam()
Ends the configuration of this parameter
|
RestDefinition |
RestOperationResponseMsgDefinition.endResponseMessage()
Ends the configuration of this response message
|
RestDefinition |
RestSecurityDefinition.endSecurityDefinition()
Ends the configuration of this security
|
RestDefinition |
RestDefinition.get() |
RestDefinition |
VerbDefinition.get() |
RestDefinition |
RestDefinition.get(String uri) |
RestDefinition |
VerbDefinition.get(String uri) |
RestDefinition |
VerbDefinition.getRest() |
RestDefinition |
RestDefinition.head() |
RestDefinition |
VerbDefinition.head() |
RestDefinition |
RestDefinition.head(String uri) |
RestDefinition |
VerbDefinition.head(String uri) |
RestDefinition |
RestDefinition.id(String id) |
RestDefinition |
RestDefinition.outType(Class<?> classType) |
RestDefinition |
RestDefinition.param(RestOperationParamDefinition param) |
RestDefinition |
RestDefinition.params(List<RestOperationParamDefinition> params) |
RestDefinition |
RestDefinition.patch() |
RestDefinition |
RestDefinition.patch(String uri) |
RestDefinition |
RestDefinition.path(String path)
To set the base path of this REST service
|
RestDefinition |
RestDefinition.post() |
RestDefinition |
VerbDefinition.post() |
RestDefinition |
RestDefinition.post(String uri) |
RestDefinition |
VerbDefinition.post(String uri) |
RestDefinition |
RestDefinition.produces(String mediaType) |
RestDefinition |
RestDefinition.put() |
RestDefinition |
VerbDefinition.put() |
RestDefinition |
RestDefinition.put(String uri) |
RestDefinition |
VerbDefinition.put(String uri) |
RestDefinition |
RestDefinition.responseMessage(RestOperationResponseMsgDefinition msg) |
RestDefinition |
RestDefinition.responseMessages(List<RestOperationResponseMsgDefinition> msgs) |
RestDefinition |
RestsDefinition.rest()
Creates a rest DSL
|
RestDefinition |
RestsDefinition.rest(RestDefinition rest)
Adds the
RestsDefinition |
RestDefinition |
RestsDefinition.rest(String uri)
Creates a rest DSL
|
RestDefinition |
RestDefinition.security(String key)
Sets the security setting for this verb.
|
RestDefinition |
RestDefinition.security(String key,
String scopes)
Sets the security setting for this verb.
|
RestDefinition |
RestDefinition.skipBindingOnErrorCode(boolean skipBindingOnErrorCode) |
RestDefinition |
RestDefinition.tag(String tag)
To set the tag to use of this REST service
|
RestDefinition |
RestDefinition.to(String uri)
Routes directly to the given static endpoint.
|
RestDefinition |
RestDefinition.toD(String uri)
Routes directly to the given dynamic endpoint.
|
RestDefinition |
RestDefinition.type(Class<?> classType) |
RestDefinition |
RestDefinition.verb(String verb) |
RestDefinition |
VerbDefinition.verb(String verb) |
RestDefinition |
RestDefinition.verb(String verb,
String uri) |
RestDefinition |
VerbDefinition.verb(String verb,
String uri) |
Modifier and Type | Method and Description |
---|---|
List<RestDefinition> |
RestsDefinition.getRests() |
List<RestDefinition> |
RestContainer.getRests()
Returns the RESTs
|
Modifier and Type | Method and Description |
---|---|
RestDefinition |
RestsDefinition.rest(RestDefinition rest)
Adds the
RestsDefinition |
void |
VerbDefinition.setRest(RestDefinition rest) |
Modifier and Type | Method and Description |
---|---|
void |
RestsDefinition.setRests(List<RestDefinition> rests)
The rest services
|
void |
RestContainer.setRests(List<RestDefinition> rests)
Sets the RESTs to use
|
Constructor and Description |
---|
RestSecuritiesDefinition(RestDefinition rest) |
RestSecurityApiKey(RestDefinition rest) |
RestSecurityBasicAuth(RestDefinition rest) |
RestSecurityDefinition(RestDefinition rest) |
RestSecurityOAuth2(RestDefinition rest) |
Apache Camel