public abstract class AfterInterceptor extends Handler<AfterInterceptor> implements Plugin, AfterInterceptorInvoker
Intercept request handling before calling to action method
Handler.VisitorPlugin.InfoRepoDestroyable.Utillogger| Modifier | Constructor and Description |
|---|---|
protected |
AfterInterceptor(int priority) |
| Modifier and Type | Method and Description |
|---|---|
org.osgl.mvc.result.Result |
handle(org.osgl.mvc.result.Result result,
ActionContext actionContext)
Sub class should implement this method to do further processing on the result and return the processed result, or return a completely new result
|
void |
register() |
accept, compareTo, corsSpec, equals, express, hashCode, priority, releaseResources, sessionFreeaddSubResource, destroy, isDestroyed, reload, scopedebug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warnclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaccept, corsSpec, express, sessionFreeprioritydestroy, isDestroyed, scopepublic org.osgl.mvc.result.Result handle(org.osgl.mvc.result.Result result,
ActionContext actionContext)
throws java.lang.Exception
Sub class should implement this method to do further processing on the result and return the processed result, or return a completely new result
handle in interface AfterInterceptorInvokerresult - the generated result by either BeforeInterceptor or controller action handler methodactionContext - java.lang.ExceptionCopyright © 2014–2017 ActFramework. All rights reserved.