Uses of Interface
cn.dev33.satoken.context.model.SaResponse
Packages that use SaResponse
Package
Description
因为不能确定最终运行的 web 容器属于标准 Servlet 模型还是非 Servlet 模型,特封装此包下的包装类进行对接。
-
Uses of SaResponse in cn.dev33.satoken.context
Methods in cn.dev33.satoken.context that return SaResponseModifier and TypeMethodDescriptionstatic SaResponseSaHolder.getResponse()获取当前请求的 Response 包装对象default SaResponseSaTokenContext.getResponse()获取当前上下文的 Response 包装对象SaTokenContextDefaultImpl.getResponse()static SaResponseSaTokenContextForThreadLocalStaff.getResponse()在当前线程的 SaResponse 包装对象Methods in cn.dev33.satoken.context with parameters of type SaResponseModifier and TypeMethodDescriptionvoidSaTokenContext.setContext(SaRequest req, SaResponse res, SaStorage stg) 初始化上下文voidSaTokenContextDefaultImpl.setContext(SaRequest req, SaResponse res, SaStorage stg) default voidSaTokenContextForReadOnly.setContext(SaRequest req, SaResponse res, SaStorage stg) voidSaTokenContextForThreadLocal.setContext(SaRequest req, SaResponse res, SaStorage stg) static voidSaTokenContextForThreadLocalStaff.setModelBox(SaRequest request, SaResponse response, SaStorage storage) 初始化当前线程的 [ Box 存储器 ] -
Uses of SaResponse in cn.dev33.satoken.context.mock
Classes in cn.dev33.satoken.context.mock that implement SaResponseMethods in cn.dev33.satoken.context.mock that return SaResponseModifier and TypeMethodDescription在响应头里添加一个值在响应头里写入一个值SaResponseForMock.setStatus(int sc) 设置响应状态码 -
Uses of SaResponse in cn.dev33.satoken.context.model
Fields in cn.dev33.satoken.context.model declared as SaResponseMethods in cn.dev33.satoken.context.model that return SaResponseModifier and TypeMethodDescription在响应头里添加一个值SaTokenContextModelBox.getResponse()在响应头里写入一个值default SaResponse在响应头写入 [Server] 服务器名称SaResponse.setStatus(int sc) 设置响应状态码Methods in cn.dev33.satoken.context.model with parameters of type SaResponseConstructors in cn.dev33.satoken.context.model with parameters of type SaResponseModifierConstructorDescriptionSaTokenContextModelBox(SaRequest request, SaResponse response, SaStorage storage) -
Uses of SaResponse in cn.dev33.satoken.fun
Methods in cn.dev33.satoken.fun with parameters of type SaResponseModifier and TypeMethodDescriptionvoidSaRouteFunction.run(SaRequest request, SaResponse response, Object handler) 执行验证的方法 -
Uses of SaResponse in cn.dev33.satoken.fun.strategy
Methods in cn.dev33.satoken.fun.strategy with parameters of type SaResponseModifier and TypeMethodDescriptionvoidSaCorsHandleFunction.execute(SaRequest req, SaResponse res, SaStorage sto) CORS 策略处理函数voidSaFirewallCheckFunction.execute(SaRequest req, SaResponse res, Object extArg) 执行函数voidSaFirewallCheckFailHandleFunction.run(FirewallCheckException e, SaRequest req, SaResponse res, Object extArg) 执行函数 -
Uses of SaResponse in cn.dev33.satoken.strategy.hooks
Methods in cn.dev33.satoken.strategy.hooks with parameters of type SaResponseModifier and TypeMethodDescriptionvoidSaFirewallCheckHook.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForBlackPath.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForDirectoryTraversal.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForHeader.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForHost.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForHttpMethod.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForParameter.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForPathBannedCharacter.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForPathDangerCharacter.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法voidSaFirewallCheckHookForWhitePath.execute(SaRequest req, SaResponse res, Object extArg) 执行的方法