public static class Interceptor.LegacyAdapter extends Object implements Interceptor
Interceptor.LegacyAdapter| Modifier | Constructor and Description |
|---|---|
protected |
LegacyAdapter(Interceptor adaptee) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called to let an interceptor clean up any resources it has allocated.
|
Interceptor |
getAdaptee() |
void |
init()
Called after an interceptor is created, but before any requests are processed using
intercept , giving
the Interceptor a chance to initialize any needed resources. |
String |
intercept(ActionInvocation invocation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadapt, interceptprotected LegacyAdapter(Interceptor adaptee)
public Interceptor getAdaptee()
public String intercept(ActionInvocation invocation) throws Exception
Exceptionpublic void destroy()
Interceptordestroy in interface Interceptorpublic void init()
Interceptorintercept , giving
the Interceptor a chance to initialize any needed resources.init in interface InterceptorCopyright © 2000–2024 Apache Software Foundation. All rights reserved.