Interceptor instead.@Deprecated public interface Interceptor extends Interceptor
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Interceptor.LegacyAdapterDeprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static Interceptor | adapt(Interceptor actualInterceptor)Deprecated.  | 
| default String | intercept(ActionInvocation invocation)Deprecated.  Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the
 request by the  ActionInvocationor to short-circuit the processing and just return a String return code. | 
| String | intercept(ActionInvocation invocation)Deprecated.  | 
destroy, initdefault String intercept(ActionInvocation invocation) throws Exception
InterceptorActionInvocation or to short-circuit the processing and just return a String return code.intercept in interface Interceptorinvocation - the action invocationActionInvocation.invoke(), or from the interceptor itself.Exception - any system-level error, as defined in Action.execute().String intercept(ActionInvocation invocation) throws Exception
Exceptionstatic Interceptor adapt(Interceptor actualInterceptor)
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.