public class ExcludeFilter extends Filter
| 构造器和说明 |
|---|
ExcludeFilter(String excludeName) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getExcludeName() |
SofaResponse |
invoke(FilterInvoker invoker,
SofaRequest request)
Do filtering
doBeforeInvoke(); // the code before invoke, even new dummy response for return (skip all next invoke). |
needToLoad, onAsyncResponsepublic ExcludeFilter(String excludeName)
public String getExcludeName()
public SofaResponse invoke(FilterInvoker invoker, SofaRequest request) throws SofaRpcException
Filter
doBeforeInvoke(); // the code before invoke, even new dummy response for return (skip all next invoke).
SofaResponse response = invoker.invoke(request); // do next invoke(call next filter, call remote, call implements).
doAfterInvoke(); // the code after invoke
invoke 在类中 Filterinvoker - Invokerrequest - RequestSofaRpcException - Occur rpc exceptionCopyright © 2008–2018 The Ant Financial. All rights reserved.