类 SaReactorHolder
java.lang.Object
cn.dev33.satoken.loveqq.boot.context.SaReactorHolder
Reactor 上下文操作(异步),持有当前请求的 ServerWebExchange 全局引用
- 从以下版本开始:
- 1.19.0
- 作者:
- click33
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static reactor.core.publisher.Mono<com.kfyty.loveqq.framework.web.core.http.ServerRequest>获取 Mono < ServerRequest >static reactor.core.publisher.Mono<com.kfyty.loveqq.framework.web.core.http.ServerResponse>获取 Mono < ServerResponse >static <R> reactor.core.publisher.Mono<R>sync(cn.dev33.satoken.fun.SaRetGenericFunction<R> fun) 将 ServerRequest/ServerResponse 写入到同步上下文中,并执行一段代码,执行完毕清除上下文
-
字段详细资料
-
构造器详细资料
-
SaReactorHolder
public SaReactorHolder()
-
-
方法详细资料
-
getRequest
public static reactor.core.publisher.Mono<com.kfyty.loveqq.framework.web.core.http.ServerRequest> getRequest()获取 Mono < ServerRequest >- 返回:
- /
-
getResponse
public static reactor.core.publisher.Mono<com.kfyty.loveqq.framework.web.core.http.ServerResponse> getResponse()获取 Mono < ServerResponse >- 返回:
- /
-
sync
public static <R> reactor.core.publisher.Mono<R> sync(cn.dev33.satoken.fun.SaRetGenericFunction<R> fun) 将 ServerRequest/ServerResponse 写入到同步上下文中,并执行一段代码,执行完毕清除上下文- 返回:
- /
-