public class PostAnnotationHandler extends AbstractAnnotationHandler
annoClass, annoResourceFactory, methods| Constructor and Description |
|---|
PostAnnotationHandler(AnnotationResourceFactory outer) |
| Modifier and Type | Method and Description |
|---|---|
Object |
execute(AnnoResource resource,
Request request,
Map<String,String> params)
Can return a String (meaning redirect to url), or a JsonResult which will
be rendered to output in the sendContent phase, or null.
|
ControllerMethod |
getPostMethod(AnnoResource resource,
Request request,
Map<String,String> params) |
attemptToReadProperty, attemptToSetProperty, getAnnoClass, getControllerMethods, getMethodForType, getSupportedMethods, invoke, isCompatible, parseControllerpublic PostAnnotationHandler(AnnotationResourceFactory outer)
public Object execute(AnnoResource resource, Request request, Map<String,String> params) throws BadRequestException, NotAuthorizedException, ConflictException
resource - request - params - BadRequestExceptionNotAuthorizedExceptionConflictExceptionpublic ControllerMethod getPostMethod(AnnoResource resource, Request request, Map<String,String> params)
Copyright © 2021 McEvoy Software Ltd. All rights reserved.