public class ControllerAction extends ActionHandler<ControllerAction>
Dispatch request to real controller action method
Handler.Visitor
Destroyable.Util
Constructor and Description |
---|
ControllerAction(ActionHandlerInvoker invoker) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Handler.Visitor visitor) |
CacheSupportMetaInfo |
cacheSupport() |
CORS.Spec |
corsSpec() |
MissingAuthenticationHandler |
csrfFailureHandler() |
CSRF.Spec |
csrfSpec() |
boolean |
express() |
org.osgl.mvc.result.Result |
handle(ActionContext actionContext) |
MissingAuthenticationHandler |
missingAuthenticationHandler() |
org.osgl.mvc.result.NotFound |
notFoundOnMethod(String message) |
protected void |
releaseResources() |
boolean |
sessionFree() |
compareTo, equals, hashCode, priority
addSubResource, destroy, isDestroyed, reload, scope
public ControllerAction(ActionHandlerInvoker invoker)
public CacheSupportMetaInfo cacheSupport()
public org.osgl.mvc.result.Result handle(ActionContext actionContext) throws Exception
handle
in class ActionHandler<ControllerAction>
Exception
public org.osgl.mvc.result.NotFound notFoundOnMethod(String message)
public CORS.Spec corsSpec()
corsSpec
in class Handler<ControllerAction>
public CSRF.Spec csrfSpec()
public boolean sessionFree()
sessionFree
in class Handler<ControllerAction>
public MissingAuthenticationHandler missingAuthenticationHandler()
public MissingAuthenticationHandler csrfFailureHandler()
public boolean express()
express
in class Handler<ControllerAction>
public void accept(Handler.Visitor visitor)
accept
in class Handler<ControllerAction>
protected void releaseResources()
releaseResources
in class Handler<ControllerAction>
Copyright © 2014-2017 ActFramework. All Rights Reserved.