类 SaStorageForDubbo3

java.lang.Object
cn.dev33.satoken.context.dubbo3.model.SaStorageForDubbo3
所有已实现的接口:
cn.dev33.satoken.application.SaGetValueInterface, cn.dev33.satoken.application.SaSetValueInterface, cn.dev33.satoken.context.model.SaStorage

public class SaStorageForDubbo3 extends Object implements cn.dev33.satoken.context.model.SaStorage
对 SaStorage 包装类的实现(Dubbo3 版)
从以下版本开始:
1.34.0
作者:
click33
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected org.apache.dubbo.rpc.RpcContext
    底层对象
  • 构造器概要

    构造器
    构造器
    说明
    SaStorageForDubbo3(org.apache.dubbo.rpc.RpcContext rpcContext)
    实例化
  • 方法概要

    修饰符和类型
    方法
    说明
    在 [Request作用域] 里删除一个值
    get(String key)
    在 [Request作用域] 里获取一个值
    获取底层源对象
    set(String key, Object value)
    在 [Request作用域] 里写入一个值

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 cn.dev33.satoken.application.SaGetValueInterface

    get, getDouble, getFloat, getInt, getLong, getModel, getModel, getString, getValueByDefaultValue, has, valueIsNull

    从接口继承的方法 cn.dev33.satoken.application.SaSetValueInterface

    get, setByNull
  • 字段详细资料

    • rpcContext

      protected org.apache.dubbo.rpc.RpcContext rpcContext
      底层对象
  • 构造器详细资料

    • SaStorageForDubbo3

      public SaStorageForDubbo3(org.apache.dubbo.rpc.RpcContext rpcContext)
      实例化
      参数:
      rpcContext - rpcContext对象
  • 方法详细资料

    • getSource

      public Object getSource()
      获取底层源对象
      指定者:
      getSource 在接口中 cn.dev33.satoken.context.model.SaStorage
    • set

      public SaStorageForDubbo3 set(String key, Object value)
      在 [Request作用域] 里写入一个值
      指定者:
      set 在接口中 cn.dev33.satoken.application.SaSetValueInterface
      指定者:
      set 在接口中 cn.dev33.satoken.context.model.SaStorage
    • get

      public Object get(String key)
      在 [Request作用域] 里获取一个值
      指定者:
      get 在接口中 cn.dev33.satoken.application.SaGetValueInterface
      指定者:
      get 在接口中 cn.dev33.satoken.context.model.SaStorage
    • delete

      public SaStorageForDubbo3 delete(String key)
      在 [Request作用域] 里删除一个值
      指定者:
      delete 在接口中 cn.dev33.satoken.application.SaSetValueInterface
      指定者:
      delete 在接口中 cn.dev33.satoken.context.model.SaStorage