public class CoopInterceptor extends AbstractInterceptor implements PreResultListener
| Constructor and Description |
|---|
CoopInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeResult(ActionInvocation invocation,
String resultCode)
|
String |
intercept(ActionInvocation invocation)
Override to handle interception
|
boolean |
isExempted(String path) |
void |
setExemptedPaths(String paths) |
void |
setMode(String mode) |
destroy, init, setDisabled, shouldInterceptpublic String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptorintercept in interface Interceptorintercept in class AbstractInterceptorinvocation - the action invocationActionInvocation.invoke(), or from the interceptor itself.Exception - any system-level error, as defined in Action.execute().public void beforeResult(ActionInvocation invocation, String resultCode)
PreResultListenerbeforeResult in interface PreResultListenerinvocation - the action invocationresultCode - the result code returned by the action (eg. success).public boolean isExempted(String path)
public void setExemptedPaths(String paths)
public void setMode(String mode)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.