Interceptor
instead.@Deprecated public interface Interceptor extends Interceptor
Modifier and Type | Interface and Description |
---|---|
static class |
Interceptor.LegacyAdapter
Deprecated.
|
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
ActionInvocation or to short-circuit the processing and just return a String return code. |
String |
intercept(ActionInvocation invocation)
Deprecated.
|
destroy, init
default String intercept(ActionInvocation invocation) throws Exception
Interceptor
ActionInvocation
or to short-circuit the processing and just return a String return code.intercept
in interface Interceptor
invocation
- 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
Exception
static Interceptor adapt(Interceptor actualInterceptor)
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.