| 程序包 | 说明 |
|---|---|
| com.alibaba.dubbo.rpc |
| 限定符和类型 | 方法和说明 |
|---|---|
static RpcContext |
RpcContext.getContext()
get context.
|
RpcContext |
RpcContext.remove(String key)
remove value.
|
RpcContext |
RpcContext.removeAttachment(String key)
remove attachment.
|
RpcContext |
RpcContext.set(String key,
Object value)
set value.
|
RpcContext |
RpcContext.setAttachment(String key,
String value)
set attachment.
|
RpcContext |
RpcContext.setAttachments(Map<String,String> attachment)
set attachments
|
RpcContext |
RpcContext.setLocalAddress(InetSocketAddress address)
set local address.
|
RpcContext |
RpcContext.setLocalAddress(String host,
int port)
set local address.
|
RpcContext |
RpcContext.setProviderSide(boolean isProvider) |
RpcContext |
RpcContext.setRemoteAddress(InetSocketAddress address)
set remote address.
|
RpcContext |
RpcContext.setRemoteAddress(String host,
int port)
set remote address.
|
Copyright © 2018. All rights reserved.