public abstract class AfterInterceptor extends Handler<AfterInterceptor> implements Plugin, AfterInterceptorInvoker
Intercept request handling before calling to action method
Handler.Visitor
Plugin.InfoRepo
Destroyable.Util
logger
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, sessionFree
addSubResource, destroy, isDestroyed, reload, scope
debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isTraceEnabled, trace, trace, warn, warn
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
accept, corsSpec, express, sessionFree
priority
destroy, isDestroyed, scope
public 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 AfterInterceptorInvoker
result
- the generated result by either BeforeInterceptor
or controller action handler methodactionContext
- java.lang.Exception
Copyright © 2014–2017 ActFramework. All rights reserved.