public class RpcServerContextAttachment extends RpcContextAttachment
RpcContext.RestoreContext, RpcContext.RestoreServiceContext| 构造器和说明 |
|---|
RpcServerContextAttachment() |
startAsyncasyncCall, asyncCall, canRemove, clearAfterEachInvoke, getArguments, getCancellationContext, getClientAttachment, getClientResponseContext, getCompletableFuture, getConsumerUrl, getContext, getCurrentServiceContext, getFuture, getGroup, getInterfaceName, getInvocation, getInvoker, getInvokers, getLocalAddress, getLocalAddressString, getLocalHost, getLocalHostName, getLocalPort, getMethodName, getParameterTypes, getProtocol, getProtocolServiceKey, getRemoteAddress, getRemoteAddressString, getRemoteApplicationName, getRemoteHost, getRemoteHostName, getRemotePort, getRequest, getRequest, getResponse, getResponse, getServerAttachment, getServerContext, getServerResponseContext, getServiceContext, getServiceKey, getUrl, getUrls, getVersion, isClientSide, isConsumerSide, isProviderSide, isServerSide, removeCancellationContext, removeClientAttachment, removeClientResponseContext, removeContext, removeServerAttachment, removeServerContext, removeServerResponseContext, removeServiceContext, restoreCancellationContext, restoreServiceContext, setArguments, setConsumerUrl, setFuture, setInvocation, setInvoker, setInvokers, setLocalAddress, setLocalAddress, setMethodName, setParameterTypes, setRemoteAddress, setRemoteAddress, setRemoteApplicationName, setRequest, setResponse, setRpcContext, setUrl, setUrls, storeServiceContextpublic RpcContextAttachment copyOf(boolean needCopy)
RpcContextAttachmentRpcServiceContext.copyOf(boolean)copyOf 在类中 RpcContextAttachmentpublic RpcContextAttachment setObjectAttachment(String key, Object value)
public boolean isAsyncStarted()
isAsyncStarted 在类中 RpcContextAttachmentpublic boolean stopAsync()
stopAsync 在类中 RpcContextAttachmentpublic AsyncContext getAsyncContext()
getAsyncContext 在类中 RpcContextAttachmentpublic String getAttachment(String key)
RpcContextAttachmentgetAttachment 在类中 RpcContextAttachmentpublic Object getObjectAttachment(String key)
RpcContextAttachmentgetObjectAttachment 在类中 RpcContextAttachmentpublic RpcContextAttachment setAttachment(String key, String value)
RpcContextAttachmentsetAttachment 在类中 RpcContextAttachmentpublic RpcContextAttachment setAttachment(String key, Object value)
setAttachment 在类中 RpcContextAttachmentpublic RpcContextAttachment removeAttachment(String key)
RpcContextAttachmentremoveAttachment 在类中 RpcContextAttachmentpublic Map<String,String> getAttachments()
RpcContextAttachmentgetAttachments 在类中 RpcContextAttachmentpublic Map<String,Object> getObjectAttachments()
RpcContextAttachmentgetObjectAttachments 在类中 RpcContextAttachmentpublic RpcContextAttachment setAttachments(Map<String,String> attachment)
RpcContextAttachmentsetAttachments 在类中 RpcContextAttachmentpublic RpcContextAttachment setObjectAttachments(Map<String,Object> attachment)
RpcContextAttachmentsetObjectAttachments 在类中 RpcContextAttachmentpublic void clearAttachments()
clearAttachments 在类中 RpcContextAttachmentpublic Map<String,Object> get()
RpcContextAttachmentget 在类中 RpcContextAttachmentpublic RpcContextAttachment set(String key, Object value)
RpcContextAttachmentset 在类中 RpcContextAttachmentpublic RpcContextAttachment remove(String key)
RpcContextAttachmentremove 在类中 RpcContextAttachmentpublic Object get(String key)
RpcContextAttachmentget 在类中 RpcContextAttachmentCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.