Package io.milton.http.annotated
Class CommonPropertyAnnotationHandler<T>
java.lang.Object
io.milton.http.annotated.AbstractAnnotationHandler
io.milton.http.annotated.CommonPropertyAnnotationHandler<T>
- All Implemented Interfaces:
AnnotationHandler
- Author:
- brad
-
Field Summary
FieldsFields inherited from class io.milton.http.annotated.AbstractAnnotationHandler
annoClass, annoResourceFactory, methods -
Constructor Summary
ConstructorsConstructorDescriptionCommonPropertyAnnotationHandler(Class annoClass, AnnotationResourceFactory outer) CommonPropertyAnnotationHandler(Class annoClass, AnnotationResourceFactory outer, String... propNames) -
Method Summary
Modifier and TypeMethodDescriptionprotected TderiveDefaultValue(Object source) get(AnnoResource res) voidset(AnnoResource res, T newValue) voidsetDefaultValue(T defaultValue) Methods inherited from class io.milton.http.annotated.AbstractAnnotationHandler
attemptToReadProperty, attemptToSetProperty, getAnnoClass, getControllerMethods, getMethodForType, getSupportedMethods, invoke, isCompatible, parseController
-
Field Details
-
propertyNames
-
-
Constructor Details
-
CommonPropertyAnnotationHandler
-
CommonPropertyAnnotationHandler
public CommonPropertyAnnotationHandler(Class annoClass, AnnotationResourceFactory outer, String... propNames)
-
-
Method Details
-
get
-
set
-
getDefaultValue
-
setDefaultValue
-
deriveDefaultValue
-