Package org.chenile.http.init.od
Class MappingProducerBase
java.lang.Object
org.chenile.http.init.od.MappingProducerBase
- Direct Known Subclasses:
DeleteMappingProducer,GetMappingProducer,PatchMappingProducer,PostMappingProducer,PutMappingProducer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectChenileAnnotations(Method method, OperationDefinition od) protected abstract String[]private static ParameterizedTypeReference<?>findOutputType(ResolvableType genericType) protected abstract HTTPMethodprotected voidpopulateParams(ChenileServiceDefinition csd, Method method, OperationDefinition od) protected voidprocessBodyTypeSelector(ChenileServiceDefinition csd, Method method, OperationDefinition od) protected voidprocessChenileOperation(ChenileServiceDefinition csd, Method method, OperationDefinition od) protected voidprocessChenileResponseCodes(Method method, OperationDefinition od) protected voidprocessEventsSubscribedTo(ChenileServiceDefinition csd, Method method, OperationDefinition od) protected voidprocessInterceptedBy(ChenileServiceDefinition csd, Method method, OperationDefinition od) protected voidprocessParamClassType(OperationDefinition od, ParamDefinition pd, Parameter param) The paramClass Annotation tells Chenile that the actual signature of the service's operation is different from the one that is defined in the controller.If the parameter is of type String then the Chenile Param type will override it.voidproduceOperationDefinition(ChenileServiceDefinition csd, Method method) protected abstract String[]protected abstract String[]
-
Field Details
-
applicationContext
-
-
Constructor Details
-
MappingProducerBase
-
-
Method Details
-
processChenileOperation
protected void processChenileOperation(ChenileServiceDefinition csd, Method method, OperationDefinition od) -
processChenileResponseCodes
-
processInterceptedBy
protected void processInterceptedBy(ChenileServiceDefinition csd, Method method, OperationDefinition od) -
processBodyTypeSelector
protected void processBodyTypeSelector(ChenileServiceDefinition csd, Method method, OperationDefinition od) -
processEventsSubscribedTo
protected void processEventsSubscribedTo(ChenileServiceDefinition csd, Method method, OperationDefinition od) -
processParamClassType
The paramClass Annotation tells Chenile that the actual signature of the service's operation is different from the one that is defined in the controller.If the parameter is of type String then the Chenile Param type will override it. Else, the actual type is preserved.- Parameters:
od- the operation definitionpd- the param definition that might have been annotated with ChenileParamTypeparam- the parameter defined by the Java reflection API
-
collectChenileAnnotations
-
populateParams
-
url
-
httpMethod
-
consumes
-
produces
-
produceOperationDefinition
-
findOutputType
-