public interface AnnotationHandler
| Modifier and Type | Method and Description |
|---|---|
Class |
getAnnoClass()
Get the annotation class that this handler handles
|
List<ControllerMethod> |
getControllerMethods()
List the methods found when parsing annotations on the controller
|
Request.Method[] |
getSupportedMethods()
Return any HTTP methods which this annotation handler supports
|
boolean |
isCompatible(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 type
|
void |
parseController(Object controller)
Called on initialisation, the handler should look for annotations on the
controller object and prepare itself to use them
|
void parseController(Object controller)
controller - Request.Method[] getSupportedMethods()
boolean isCompatible(Object source)
source - List<ControllerMethod> getControllerMethods()
Class getAnnoClass()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.