| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.rpc |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RpcServerContextAttachment |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcContextAttachment |
RpcServerContextAttachment.copyOf(boolean needCopy) |
RpcContextAttachment |
RpcContextAttachment.copyOf(boolean needCopy)
Also see
RpcServiceContext.copyOf(boolean) |
static RpcContextAttachment |
RpcContext.getClientAttachment()
get consumer side attachment ( A --> B , in A side)
|
static RpcContextAttachment |
RpcContext.getClientResponseContext()
remove server side context.
|
static RpcContextAttachment |
RpcContext.getServerAttachment()
get provider side attachment from consumer ( A --> B , in B side)
|
static RpcContextAttachment |
RpcContext.getServerContext()
get server side context. ( A <-- B , in B side)
|
static RpcContextAttachment |
RpcContext.getServerResponseContext() |
RpcContextAttachment |
RpcServerContextAttachment.remove(String key) |
RpcContextAttachment |
RpcContextAttachment.remove(String key)
已过时。
|
RpcContextAttachment |
RpcServerContextAttachment.removeAttachment(String key) |
RpcContextAttachment |
RpcContextAttachment.removeAttachment(String key)
remove attachment.
|
RpcContextAttachment |
RpcServerContextAttachment.set(String key,
Object value) |
RpcContextAttachment |
RpcContextAttachment.set(String key,
Object value)
已过时。
|
RpcContextAttachment |
RpcServerContextAttachment.setAttachment(String key,
Object value) |
RpcContextAttachment |
RpcContextAttachment.setAttachment(String key,
Object value) |
RpcContextAttachment |
RpcServerContextAttachment.setAttachment(String key,
String value) |
RpcContextAttachment |
RpcContextAttachment.setAttachment(String key,
String value)
set attachment.
|
RpcContextAttachment |
RpcServerContextAttachment.setAttachments(Map<String,String> attachment) |
RpcContextAttachment |
RpcContextAttachment.setAttachments(Map<String,String> attachment)
set attachments
|
RpcContextAttachment |
RpcServerContextAttachment.setObjectAttachment(String key,
Object value) |
RpcContextAttachment |
RpcContextAttachment.setObjectAttachment(String key,
Object value) |
RpcContextAttachment |
RpcServerContextAttachment.setObjectAttachments(Map<String,Object> attachment) |
RpcContextAttachment |
RpcContextAttachment.setObjectAttachments(Map<String,Object> attachment)
set attachments
|
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Object> |
PenetrateAttachmentSelector.select(Invocation invocation,
RpcContextAttachment clientAttachment,
RpcContextAttachment serverAttachment)
Select some attachments to pass to next hop.
|
Map<String,Object> |
PenetrateAttachmentSelector.selectReverse(Invocation invocation,
RpcContextAttachment clientResponseContext,
RpcContextAttachment serverResponseContext) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.