@Activate(group="provider", order=-10000) public class ContextFilter extends Object implements Filter, Filter.Listener
RpcContextFilter.Listener| Constructor and Description |
|---|
ContextFilter() |
| Modifier and Type | Method and Description |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation invocation)
Make sure call invoker.invoke() in your implementation.
|
void |
onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
onMessage(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonResponsepublic Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
Filterinvoke in interface FilterRpcExceptionpublic void onMessage(Result appResponse, Invoker<?> invoker, Invocation invocation)
onMessage in interface Filter.Listenerpublic void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
onError in interface Filter.ListenerCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.