Uses of Class
org.apache.camel.model.rest.RestDefinition
Packages that use RestDefinition
Package
Description
The JAXB POJOs for the XML Configuration of the routing
rules.
The JAXB POJOs representing the part of the model, which can be used to create a view of Camel application.
The JAXB POJOs for the REST DSL
-
Uses of RestDefinition in org.apache.camel.builder
Methods in org.apache.camel.builder that return RestDefinitionModifier and TypeMethodDescriptionRouteBuilder.rest()Creates a new REST serviceCreates a new REST serviceMethods in org.apache.camel.builder with parameters of type RestDefinition -
Uses of RestDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return RestDefinitionMethods in org.apache.camel.model that return types with arguments of type RestDefinitionModifier and TypeMethodDescriptionModel.getRestDefinitions()Returns a list of the current REST definitionsRestContextRefDefinition.lookupRests(org.apache.camel.CamelContext camelContext) static List<RestDefinition> RestContextRefDefinitionHelper.lookupRests(org.apache.camel.CamelContext camelContext, String ref) Lookup the rests from theRestContextRefDefinition.Methods in org.apache.camel.model with parameters of type RestDefinitionModifier and TypeMethodDescriptionvoidRouteDefinition.setRestDefinition(RestDefinition restDefinition) Method parameters in org.apache.camel.model with type arguments of type RestDefinitionModifier and TypeMethodDescriptionvoidModel.addRestDefinitions(Collection<RestDefinition> restDefinitions, boolean addToRoutes) Adds a collection of rest definitions to the context -
Uses of RestDefinition in org.apache.camel.model.app
Methods in org.apache.camel.model.app that return types with arguments of type RestDefinitionMethod parameters in org.apache.camel.model.app with type arguments of type RestDefinitionModifier and TypeMethodDescriptionvoidBeansDefinition.setRests(List<RestDefinition> rests) Camel Rest DSL -
Uses of RestDefinition in org.apache.camel.model.rest
Methods in org.apache.camel.model.rest that return RestDefinitionModifier and TypeMethodDescriptionInclude or exclude the current Rest Definition in API documentation.RestDefinition.bindingMode(String mode) RestDefinition.bindingMode(RestBindingMode mode) RestDefinition.clientRequestValidation(boolean clientRequestValidation) protected RestDefinitionRestsDefinition.createRest()RestDefinition.delete()VerbDefinition.delete()RestDefinition.deprecated()RestDefinition.description(String description) RestDefinition.disabled()Disables this REST service from the route during build time.RestDefinition.disabled(boolean disabled) Whether to disable this REST service from the route during build time.Whether to disable this REST service from the route during build time.RestDefinition.enableCORS(boolean enableCORS) RestDefinition.enableNoContentResponse(boolean enableNoContentResponse) RestSecuritiesDefinition.end()ParamDefinition.endParam()Ends the configuration of this parameterResponseMessageDefinition.endResponseMessage()Ends the configuration of this response messageRestSecurityDefinition.endSecurityDefinition()Ends the configuration of this securityRestDefinition.get()VerbDefinition.get()VerbDefinition.getRest()RestDefinition.head()VerbDefinition.head()RestDefinition.param(ParamDefinition param) RestDefinition.params(List<ParamDefinition> params) RestDefinition.patch()To set the base path of this REST serviceRestDefinition.post()VerbDefinition.post()RestDefinition.put()VerbDefinition.put()RestDefinition.responseMessage(int code, String message) RestDefinition.responseMessage(String code, String message) RestDefinition.responseMessage(ResponseMessageDefinition msg) RestDefinition.responseMessages(List<ResponseMessageDefinition> msgs) RestsDefinition.rest()Creates a rest DSLCreates a rest DSLRestsDefinition.rest(RestDefinition rest) Adds theRestsDefinitionSets the security setting for this verb.Sets the security setting for this verb.RestDefinition.skipBindingOnErrorCode(boolean skipBindingOnErrorCode) To set the tag to use of this REST serviceThe Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.Methods in org.apache.camel.model.rest that return types with arguments of type RestDefinitionModifier and TypeMethodDescriptionRestContainer.getRests()Returns the RESTsRestsDefinition.getRests()Methods in org.apache.camel.model.rest with parameters of type RestDefinitionModifier and TypeMethodDescriptionRestsDefinition.rest(RestDefinition rest) Adds theRestsDefinitionvoidVerbDefinition.setRest(RestDefinition rest) Method parameters in org.apache.camel.model.rest with type arguments of type RestDefinitionModifier and TypeMethodDescriptionvoidRestContainer.setRests(List<RestDefinition> rests) Sets the RESTs to usevoidRestsDefinition.setRests(List<RestDefinition> rests) The rest servicesConstructors in org.apache.camel.model.rest with parameters of type RestDefinitionModifierConstructorDescription