Uses of Class
org.miaixz.bus.vortex.Context
Packages that use Context
Package
Description
基于spring webflux 开发的API网关
安全规则等过滤
-
Uses of Context in org.miaixz.bus.vortex
Methods in org.miaixz.bus.vortex that return ContextModifier and TypeMethodDescriptionstatic ContextContext.get(org.springframework.web.reactive.function.server.ServerRequest request) 从 ServerRequest 获取或初始化上下文对象static ContextContext.get(org.springframework.web.server.ServerWebExchange exchange) 从 ServerWebExchange 获取或初始化上下文对象Methods in org.miaixz.bus.vortex with parameters of type Context -
Uses of Context in org.miaixz.bus.vortex.filter
Methods in org.miaixz.bus.vortex.filter that return ContextModifier and TypeMethodDescriptionprotected ContextAbstractFilter.getContext(org.springframework.web.server.ServerWebExchange exchange) 获取请求上下文Methods in org.miaixz.bus.vortex.filter with parameters of type ContextModifier and TypeMethodDescriptionprotected voidAuthorizeFilter.checkToken(org.springframework.web.server.ServerWebExchange exchange, Context context, Assets assets, Map<String, String> params) 校验令牌(如果资产要求)并将认证结果参数填充到请求参数中protected abstract reactor.core.publisher.Mono<Void> AbstractFilter.doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,由子类实现具体逻辑protected reactor.core.publisher.Mono<Void> AuthorizeFilter.doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,执行授权验证逻辑protected reactor.core.publisher.Mono<Void> CipherFilter.doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,执行加解密逻辑protected reactor.core.publisher.Mono<Void> FormatFilter.doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,执行响应格式化逻辑protected reactor.core.publisher.Mono<Void> LimitFilter.doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,执行限流逻辑protected reactor.core.publisher.Mono<Void> PrimaryFilter.doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,处理请求参数并进行校验protected Assets获取资产信息AbstractFilter.getRequestMap(Context context) 获取请求参数映射