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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
processChenileOperationprotected void processChenileOperation(ChenileServiceDefinition csd, Method method, OperationDefinition od) 
- 
processChenileResponseCodes
- 
processInterceptedByprotected void processInterceptedBy(ChenileServiceDefinition csd, Method method, OperationDefinition od) 
- 
processBodyTypeSelectorprotected void processBodyTypeSelector(ChenileServiceDefinition csd, Method method, OperationDefinition od) 
- 
processEventsSubscribedToprotected void processEventsSubscribedTo(ChenileServiceDefinition csd, Method method, OperationDefinition od) 
- 
processParamClassTypeThe 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 definition
- pd- the param definition that might have been annotated with ChenileParamType
- param- the parameter defined by the Java reflection API
 
- 
collectChenileAnnotations
- 
populateParams
- 
url
- 
httpMethod
- 
consumes
- 
produces
- 
produceOperationDefinition
- 
findOutputType
 
-