public abstract class AbstractInterceptor extends Object implements Interceptor
| Constructor and Description |
|---|
AbstractInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Does nothing
|
void |
init()
Does nothing
|
abstract String |
intercept(ActionInvocation invocation)
Override to handle interception
|
public void init()
init in interface Interceptorpublic void destroy()
destroy in interface Interceptorpublic abstract String intercept(ActionInvocation invocation) throws Exception
intercept in interface Interceptorinvocation - the action invocationActionInvocation.invoke(), or from the interceptor itself.Exception - any system-level error, as defined in Action.execute().Copyright © 2000–2018 Apache Software Foundation. All rights reserved.