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, wait
adapt, intercept
protected LegacyAdapter(Interceptor adaptee)
public Interceptor getAdaptee()
public String intercept(ActionInvocation invocation) throws Exception
Exception
public void destroy()
Interceptor
destroy
in interface Interceptor
public void init()
Interceptor
intercept
, giving
the Interceptor a chance to initialize any needed resources.init
in interface Interceptor
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.