AbstractInterceptor instead.@Deprecated public abstract class AbstractInterceptor extends AbstractInterceptor implements ConditionalInterceptor
ConditionalInterceptor.LegacyAdapter| Constructor and Description | 
|---|
| AbstractInterceptor()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract String | intercept(ActionInvocation invocation)Deprecated.  Override to handle interception | 
| String | intercept(ActionInvocation invocation)Deprecated.  Override to handle interception | 
| boolean | shouldIntercept(ActionInvocation invocation)Deprecated.  | 
| boolean | shouldIntercept(ActionInvocation invocation)Deprecated.  Determines if a given interceptor should be executed in the current processing of action invocation. | 
destroy, init, setDisabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptadaptdestroy, initpublic abstract String intercept(ActionInvocation invocation) throws Exception
Exceptionpublic 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 boolean shouldIntercept(ActionInvocation invocation)
public boolean shouldIntercept(ActionInvocation invocation)
ConditionalInterceptorshouldIntercept in interface ConditionalInterceptorshouldIntercept in class AbstractInterceptorinvocation - current ActionInvocation to determine if the interceptor should be executedCopyright © 2000–2025 Apache Software Foundation. All rights reserved.