public class ReflectedHandlerInvoker<M extends HandlerMethodMetaInfo> extends DestroyableBase implements ActionHandlerInvoker, AfterInterceptorInvoker, ExceptionInterceptorInvoker
Implement handler using https://github.com/EsotericSoftware/reflectasm
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReflectedHandlerInvoker.ReflectedHandlerInvokerVisitor |
ActionHandlerInvoker.VisitorDestroyable.Util| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Method |
method |
loggeraddSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyed, scopeprotected void releaseResources()
releaseResources in class DestroyableBasepublic int priority()
priority in interface Prioritisedpublic java.lang.reflect.Method invokeMethod()
invokeMethod in interface ActionHandlerInvokerpublic void accept(ActionHandlerInvoker.Visitor visitor)
accept in interface ActionHandlerInvokeraccept in interface AfterInterceptorInvokeraccept in interface ExceptionInterceptorInvokerpublic java.lang.Class<?> controllerClass()
public java.lang.reflect.Method method()
public CacheSupportMetaInfo cacheSupport()
cacheSupport in interface ActionHandlerInvokerpublic MissingAuthenticationHandler missingAuthenticationHandler()
missingAuthenticationHandler in interface ActionHandlerInvokerpublic MissingAuthenticationHandler csrfFailureHandler()
csrfFailureHandler in interface ActionHandlerInvokerpublic org.osgl.mvc.result.Result handle(ActionContext context) throws java.lang.Exception
handle in interface ActionHandlerInvokerjava.lang.Exceptionpublic org.osgl.mvc.result.Result handle(org.osgl.mvc.result.Result result,
ActionContext actionContext)
throws java.lang.Exception
handle in interface AfterInterceptorInvokerjava.lang.Exceptionpublic org.osgl.mvc.result.Result handle(java.lang.Exception e,
ActionContext actionContext)
throws java.lang.Exception
handle in interface ExceptionInterceptorInvokerjava.lang.Exceptionpublic boolean sessionFree()
sessionFree in interface ActionHandlerInvokersessionFree in interface AfterInterceptorInvokersessionFree in interface ExceptionInterceptorInvokerpublic boolean express()
express in interface ActionHandlerInvokerexpress in interface AfterInterceptorInvokerexpress in interface ExceptionInterceptorInvokerpublic CORS.Spec corsSpec()
corsSpec in interface ActionHandlerInvokercorsSpec in interface AfterInterceptorInvokercorsSpec in interface ExceptionInterceptorInvokerpublic CSRF.Spec csrfSpec()
csrfSpec in interface ActionHandlerInvokerpublic org.osgl.mvc.result.NotFound notFoundOnMethod(java.lang.String message)
public org.osgl.mvc.result.BadRequest badRequestOnMethod(java.lang.String message)
public boolean checkTemplate(ActionContext context)
public static ControllerAction createControllerAction(ActionMethodMetaInfo meta, App app)
public static BeforeInterceptor createBeforeInterceptor(InterceptorMethodMetaInfo meta, App app)
public static AfterInterceptor createAfterInterceptor(InterceptorMethodMetaInfo meta, App app)
public static ExceptionInterceptor createExceptionInterceptor(CatchMethodMetaInfo meta, App app)
public static FinallyInterceptor createFinannyInterceptor(InterceptorMethodMetaInfo meta, App app)
Copyright © 2014–2017 ActFramework. All rights reserved.