| Package | Description |
|---|---|
| org.apache.dubbo.rpc |
| Modifier and Type | Method and Description |
|---|---|
void |
Result.addObjectAttachments(Map<String,Object> map)
Add the specified map to existing attachments in this instance.
|
Object |
RpcContext.getObjectAttachment(String key)
get attachment.
|
Object |
Result.getObjectAttachment(String key)
get attachment by key.
|
Object |
Invocation.getObjectAttachment(String key) |
Object |
Result.getObjectAttachment(String key,
Object defaultValue)
get attachment by key with default value.
|
Object |
Invocation.getObjectAttachment(String key,
Object defaultValue) |
Map<String,Object> |
RpcContext.getObjectAttachments()
get attachments.
|
Map<String,Object> |
Result.getObjectAttachments()
get attachments.
|
Map<String,Object> |
Invocation.getObjectAttachments() |
void |
Result.setAttachment(String key,
Object value) |
void |
Invocation.setAttachment(String key,
Object value) |
void |
Invocation.setAttachmentIfAbsent(String key,
Object value) |
RpcContext |
RpcContext.setObjectAttachment(String key,
Object value) |
void |
Result.setObjectAttachment(String key,
Object value) |
void |
Invocation.setObjectAttachment(String key,
Object value) |
void |
Invocation.setObjectAttachmentIfAbsent(String key,
Object value) |
RpcContext |
RpcContext.setObjectAttachments(Map<String,Object> attachment)
set attachments
|
void |
Result.setObjectAttachments(Map<String,Object> map)
Replace the existing attachments with the specified param.
|
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.