Package org.apache.dubbo.rpc
Interface PenetrateAttachmentSelector
-
Method Summary
Modifier and TypeMethodDescriptionselect(Invocation invocation, RpcContextAttachment clientAttachment, RpcContextAttachment serverAttachment) Select some attachments to pass to next hop.selectReverse(Invocation invocation, RpcContextAttachment clientResponseContext, RpcContextAttachment serverResponseContext)
-
Method Details
-
select
Map<String,Object> select(Invocation invocation, RpcContextAttachment clientAttachment, RpcContextAttachment serverAttachment) Select some attachments to pass to next hop. These attachments can fetch fromRpcContext.getServerAttachment()or user defined.- Returns:
- attachment pass to next hop
-
selectReverse
Map<String,Object> selectReverse(Invocation invocation, RpcContextAttachment clientResponseContext, RpcContextAttachment serverResponseContext)
-