public class RpcContextAttachment extends RpcContext
RpcContext.RestoreContext, RpcContext.RestoreServiceContextasyncCall, 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 static AsyncContext startAsync() throws IllegalStateException
IllegalStateExceptionpublic boolean isAsyncStarted()
isAsyncStarted 在类中 RpcContextpublic boolean stopAsync()
stopAsync 在类中 RpcContextpublic AsyncContext getAsyncContext()
getAsyncContext 在类中 RpcContextpublic String getAttachment(String key)
getObjectAttachment(String).getAttachment 在类中 RpcContextkey - public Object getObjectAttachment(String key)
getObjectAttachment 在类中 RpcContextkey - public RpcContextAttachment setAttachment(String key, String value)
setAttachment 在类中 RpcContextkey - value - public RpcContextAttachment setAttachment(String key, Object value)
setAttachment 在类中 RpcContextpublic RpcContextAttachment setObjectAttachment(String key, Object value)
setObjectAttachment 在类中 RpcContextpublic RpcContextAttachment removeAttachment(String key)
removeAttachment 在类中 RpcContextkey - @Deprecated public Map<String,String> getAttachments()
getAttachments 在类中 RpcContextpublic Map<String,Object> getObjectAttachments()
getObjectAttachments 在类中 RpcContextpublic RpcContextAttachment setAttachments(Map<String,String> attachment)
setAttachments 在类中 RpcContextattachment - public RpcContextAttachment setObjectAttachments(Map<String,Object> attachment)
setObjectAttachments 在类中 RpcContextattachment - public void clearAttachments()
clearAttachments 在类中 RpcContext@Deprecated public Map<String,Object> get()
get 在类中 RpcContext@Deprecated public RpcContextAttachment set(String key, Object value)
set 在类中 RpcContextkey - value - @Deprecated public RpcContextAttachment remove(String key)
remove 在类中 RpcContextkey - @Deprecated public Object get(String key)
get 在类中 RpcContextkey - public RpcContextAttachment copyOf(boolean needCopy)
RpcServiceContext.copyOf(boolean)Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.