接口 Result
-
- 所有超级接口:
Result,Serializable
- 所有已知实现类:
Result.AbstractResult,Result.CompatibleResult
@Deprecated public interface Result extends Result
已过时。
-
-
嵌套类概要
嵌套类 修饰符和类型 接口 说明 static classResult.AbstractResult已过时。static classResult.CompatibleResult已过时。
-
方法概要
所有方法 实例方法 默认方法 已过时的方法 修饰符和类型 方法 说明 default voidaddObjectAttachments(Map<String,Object> map)已过时。Add the specified map to existing attachments in this instance.default ObjectgetObjectAttachment(String key)已过时。get attachment by key.default ObjectgetObjectAttachment(String key, Object defaultValue)已过时。get attachment by key with default value.default Map<String,Object>getObjectAttachments()已过时。get attachments.default voidsetException(Throwable t)已过时。default voidsetObjectAttachments(Map<String,Object> map)已过时。Replace the existing attachments with the specified param.default voidsetValue(Object value)已过时。-
从接口继承的方法 org.apache.dubbo.rpc.Result
addAttachments, get, get, getAttachment, getAttachment, getAttachments, getException, getValue, hasException, recreate, setAttachment, setAttachment, setAttachments, setObjectAttachment, thenApply, whenCompleteWithContext
-
-
-
-
方法详细资料
-
setException
default void setException(Throwable t)
已过时。- 指定者:
setException在接口中Result
-
getObjectAttachments
default Map<String,Object> getObjectAttachments()
已过时。从接口复制的说明:Resultget attachments.- 指定者:
getObjectAttachments在接口中Result- 返回:
- attachments.
-
addObjectAttachments
default void addObjectAttachments(Map<String,Object> map)
已过时。从接口复制的说明:ResultAdd the specified map to existing attachments in this instance.- 指定者:
addObjectAttachments在接口中Result
-
setObjectAttachments
default void setObjectAttachments(Map<String,Object> map)
已过时。从接口复制的说明:ResultReplace the existing attachments with the specified param.- 指定者:
setObjectAttachments在接口中Result
-
getObjectAttachment
default Object getObjectAttachment(String key)
已过时。从接口复制的说明:Resultget attachment by key.- 指定者:
getObjectAttachment在接口中Result- 返回:
- attachment value.
-
-