@Deprecated public abstract class ListenableFilter extends Object implements Filter
ExceptionFilter, for example.
If you do not want to share Listener instance between RPC calls. ListenableFilter can be used to keep a 'one Listener each RPC call' model.
BaseFilter.Listener| Constructor and Description |
|---|
ListenableFilter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Invocation invocation,
BaseFilter.Listener listener)
Deprecated.
|
BaseFilter.Listener |
listener()
Deprecated.
|
BaseFilter.Listener |
listener(Invocation invocation)
Deprecated.
|
void |
removeListener(Invocation invocation)
Deprecated.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokepublic BaseFilter.Listener listener()
public BaseFilter.Listener listener(Invocation invocation)
public void addListener(Invocation invocation, BaseFilter.Listener listener)
public void removeListener(Invocation invocation)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.