Uses of Class
org.apache.camel.model.rest.RestDefinition
-
Packages that use RestDefinition Package Description org.apache.camel.builder 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 -
-
Uses of RestDefinition in org.apache.camel.builder
Methods in org.apache.camel.builder that return RestDefinition Modifier and Type Method Description RestDefinitionRouteBuilder. rest()Creates a new REST serviceRestDefinitionRouteBuilder. rest(String path)Creates a new REST serviceMethods in org.apache.camel.builder with parameters of type RestDefinition Modifier and Type Method Description protected voidRouteBuilder. configureRest(RestDefinition rest) -
Uses of RestDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return RestDefinition Modifier and Type Method Description RestDefinitionRouteDefinition. getRestDefinition()Methods in org.apache.camel.model that return types with arguments of type RestDefinition Modifier and Type Method Description List<RestDefinition>Model. getRestDefinitions()Returns a list of the current REST definitionsList<RestDefinition>RestContextRefDefinition. 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 RestDefinition Modifier and Type Method Description voidRouteDefinition. setRestDefinition(RestDefinition restDefinition)Method parameters in org.apache.camel.model with type arguments of type RestDefinition Modifier and Type Method Description voidModel. addRestDefinitions(Collection<RestDefinition> restDefinitions, boolean addToRoutes)Adds a collection of rest definitions to the context -
Uses of RestDefinition in org.apache.camel.model.rest
Methods in org.apache.camel.model.rest that return RestDefinition Modifier and Type Method Description RestDefinitionRestDefinition. apiDocs(Boolean apiDocs)Include or exclude the current Rest Definition in API documentation.RestDefinitionRestDefinition. bindingMode(String mode)RestDefinitionRestDefinition. bindingMode(RestBindingMode mode)RestDefinitionRestDefinition. clientRequestValidation(boolean clientRequestValidation)RestDefinitionRestDefinition. consumes(String mediaType)protected RestDefinitionRestsDefinition. createRest()RestDefinitionRestDefinition. delete()RestDefinitionRestDefinition. delete(String uri)RestDefinitionVerbDefinition. delete()RestDefinitionVerbDefinition. delete(String uri)RestDefinitionRestDefinition. deprecated()RestDefinitionRestDefinition. description(String text)RestDefinitionRestDefinition. description(String id, String text, String lang)RestDefinitionRestDefinition. enableCORS(boolean enableCORS)RestDefinitionRestSecuritiesDefinition. end()RestDefinitionParamDefinition. endParam()Ends the configuration of this parameterRestDefinitionResponseMessageDefinition. endResponseMessage()Ends the configuration of this response messageRestDefinitionRestSecurityDefinition. endSecurityDefinition()Ends the configuration of this securityRestDefinitionRestDefinition. get()RestDefinitionRestDefinition. get(String uri)RestDefinitionVerbDefinition. get()RestDefinitionVerbDefinition. get(String uri)RestDefinitionVerbDefinition. getRest()RestDefinitionRestDefinition. head()RestDefinitionRestDefinition. head(String uri)RestDefinitionVerbDefinition. head()RestDefinitionVerbDefinition. head(String uri)RestDefinitionRestDefinition. id(String id)RestDefinitionRestDefinition. outType(Class<?> classType)RestDefinitionRestDefinition. param(ParamDefinition param)RestDefinitionRestDefinition. params(List<ParamDefinition> params)RestDefinitionRestDefinition. patch()RestDefinitionRestDefinition. patch(String uri)RestDefinitionRestDefinition. path(String path)To set the base path of this REST serviceRestDefinitionRestDefinition. post()RestDefinitionRestDefinition. post(String uri)RestDefinitionVerbDefinition. post()RestDefinitionVerbDefinition. post(String uri)RestDefinitionRestDefinition. produces(String mediaType)RestDefinitionRestDefinition. put()RestDefinitionRestDefinition. put(String uri)RestDefinitionVerbDefinition. put()RestDefinitionVerbDefinition. put(String uri)RestDefinitionRestDefinition. responseMessage(int code, String message)RestDefinitionRestDefinition. responseMessage(String code, String message)RestDefinitionRestDefinition. responseMessage(ResponseMessageDefinition msg)RestDefinitionRestDefinition. responseMessages(List<ResponseMessageDefinition> msgs)RestDefinitionRestsDefinition. rest()Creates a rest DSLRestDefinitionRestsDefinition. rest(String uri)Creates a rest DSLRestDefinitionRestsDefinition. rest(RestDefinition rest)Adds theRestsDefinitionRestDefinitionRestDefinition. security(String key)Sets the security setting for this verb.RestDefinitionRestDefinition. security(String key, String scopes)Sets the security setting for this verb.RestDefinitionRestDefinition. skipBindingOnErrorCode(boolean skipBindingOnErrorCode)RestDefinitionRestDefinition. tag(String tag)To set the tag to use of this REST serviceRestDefinitionRestDefinition. to(String uri)The Camel endpoint this REST service will call, such as a direct endpoint to link to an existing route that handles this REST call.RestDefinitionRestDefinition. type(Class<?> classType)RestDefinitionRestDefinition. verb(String verb)RestDefinitionRestDefinition. verb(String verb, String uri)RestDefinitionVerbDefinition. verb(String verb)RestDefinitionVerbDefinition. verb(String verb, String uri)Methods in org.apache.camel.model.rest that return types with arguments of type RestDefinition Modifier and Type Method Description List<RestDefinition>RestContainer. getRests()Returns the RESTsList<RestDefinition>RestsDefinition. getRests()Methods in org.apache.camel.model.rest with parameters of type RestDefinition Modifier and Type Method Description RestDefinitionRestsDefinition. rest(RestDefinition rest)Adds theRestsDefinitionvoidVerbDefinition. setRest(RestDefinition rest)Method parameters in org.apache.camel.model.rest with type arguments of type RestDefinition Modifier and Type Method Description voidRestContainer. 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 RestDefinition Constructor Description ApiKeyDefinition(RestDefinition rest)BasicAuthDefinition(RestDefinition rest)BearerTokenDefinition(RestDefinition rest)MutualTLSDefinition(RestDefinition rest)OAuth2Definition(RestDefinition rest)OpenIdConnectDefinition(RestDefinition rest)RestSecuritiesDefinition(RestDefinition rest)RestSecurityDefinition(RestDefinition rest)
-