Uses of Record Class
cloud.opencode.base.web.context.RequestContext
Packages that use RequestContext
-
Uses of RequestContext in cloud.opencode.base.web
Methods in cloud.opencode.base.web that return RequestContextModifier and TypeMethodDescriptionstatic RequestContextOpenWeb.getContext()Get current request context 获取当前请求上下文Methods in cloud.opencode.base.web with parameters of type RequestContextModifier and TypeMethodDescriptionstatic voidOpenWeb.setContext(RequestContext context) Set current request context 设置当前请求上下文 -
Uses of RequestContext in cloud.opencode.base.web.context
Methods in cloud.opencode.base.web.context that return RequestContextModifier and TypeMethodDescriptionRequestContext.Builder.build()static RequestContextRequestContextHolder.getContext()Get the request context 获取请求上下文static RequestContextRequestContextHolder.getOrCreate(Supplier<RequestContext> supplier) Get the request context, creating if absent 获取请求上下文,如果不存在则创建static RequestContextCreate simple request context 创建简单请求上下文Methods in cloud.opencode.base.web.context with parameters of type RequestContextModifier and TypeMethodDescriptionstatic voidRequestContextHolder.execute(RequestContext context, Runnable runnable) Execute runnable with context 使用上下文执行Runnablestatic <T> TRequestContextHolder.execute(RequestContext context, Supplier<T> supplier) Execute supplier with context 使用上下文执行Supplierstatic voidRequestContextHolder.setContext(RequestContext context) Set the request context 设置请求上下文Method parameters in cloud.opencode.base.web.context with type arguments of type RequestContextModifier and TypeMethodDescriptionstatic RequestContextRequestContextHolder.getOrCreate(Supplier<RequestContext> supplier) Get the request context, creating if absent 获取请求上下文,如果不存在则创建