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 Interceptor
public void destroy()
destroy
in interface Interceptor
public abstract String intercept(ActionInvocation invocation) throws Exception
intercept
in interface Interceptor
invocation
- the action invocationActionInvocation.invoke()
, or from the interceptor itself.Exception
- any system-level error, as defined in Action.execute()
.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.