public class ControllerAction extends ActionHandler<ControllerAction>
Dispatch request to real controller action method
Handler.Visitor
Destroyable.Util
logger
Constructor and Description |
---|
ControllerAction(ActionHandlerInvoker invoker) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Handler.Visitor visitor) |
org.osgl.mvc.result.BadRequest |
badRequestOnMethod(java.lang.String message) |
CacheSupportMetaInfo |
cacheSupport() |
CORS.Spec |
corsSpec() |
MissingAuthenticationHandler |
csrfFailureHandler() |
CSRF.Spec |
csrfSpec() |
boolean |
express() |
org.osgl.mvc.result.Result |
handle(ActionContext actionContext) |
ActionHandlerInvoker |
invoker() |
MissingAuthenticationHandler |
missingAuthenticationHandler() |
org.osgl.mvc.result.NotFound |
notFoundOnMethod(java.lang.String message) |
protected void |
releaseResources() |
boolean |
sessionFree() |
compareTo, equals, hashCode, priority
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
public ControllerAction(ActionHandlerInvoker invoker)
public CacheSupportMetaInfo cacheSupport()
public org.osgl.mvc.result.Result handle(ActionContext actionContext) throws java.lang.Exception
handle
in class ActionHandler<ControllerAction>
java.lang.Exception
public org.osgl.mvc.result.NotFound notFoundOnMethod(java.lang.String message)
public org.osgl.mvc.result.BadRequest badRequestOnMethod(java.lang.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>
public ActionHandlerInvoker invoker()
protected void releaseResources()
releaseResources
in class Handler<ControllerAction>
Copyright © 2014–2017 ActFramework. All rights reserved.