Package io.milton.http.annotated
Class RootAnnotationHandler
java.lang.Object
io.milton.http.annotated.RootAnnotationHandler
- All Implemented Interfaces:
AnnotationHandler
- Author:
- brad
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the annotation class that this handler handlesList the methods found when parsing annotations on the controllerReturn any HTTP methods which this annotation handler supportsbooleanisCompatible(Object source) Determine if this handler is able to support the given source object, ie if there is a controller method registered in this handler that supports the given source typevoidparseController(Object controller) Called on initialisation, the handler should look for annotations on the controller object and prepare itself to use them
-
Constructor Details
-
RootAnnotationHandler
-
-
Method Details
-
execute
-
parseController
Description copied from interface:AnnotationHandlerCalled on initialisation, the handler should look for annotations on the controller object and prepare itself to use them- Specified by:
parseControllerin interfaceAnnotationHandler
-
getSupportedMethods
Description copied from interface:AnnotationHandlerReturn any HTTP methods which this annotation handler supports- Specified by:
getSupportedMethodsin interfaceAnnotationHandler- Returns:
-
isCompatible
Description copied from interface:AnnotationHandlerDetermine if this handler is able to support the given source object, ie if there is a controller method registered in this handler that supports the given source type- Specified by:
isCompatiblein interfaceAnnotationHandler- Returns:
-
getControllerMethods
Description copied from interface:AnnotationHandlerList the methods found when parsing annotations on the controller- Specified by:
getControllerMethodsin interfaceAnnotationHandler- Returns:
-
getAnnoClass
Description copied from interface:AnnotationHandlerGet the annotation class that this handler handles- Specified by:
getAnnoClassin interfaceAnnotationHandler- Returns:
-