@SPI public interface PenetrateAttachmentSelector
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
select(Invocation invocation,
RpcContextAttachment clientAttachment,
RpcContextAttachment serverAttachment)
Select some attachments to pass to next hop.
|
Map<String,Object> |
selectReverse(Invocation invocation,
RpcContextAttachment clientResponseContext,
RpcContextAttachment serverResponseContext) |
Map<String,Object> select(Invocation invocation, RpcContextAttachment clientAttachment, RpcContextAttachment serverAttachment)
RpcContext.getServerAttachment() or user defined.Map<String,Object> selectReverse(Invocation invocation, RpcContextAttachment clientResponseContext, RpcContextAttachment serverResponseContext)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.