java.lang.Object
org.miaixz.bus.vortex.filter.AbstractFilter
org.miaixz.bus.vortex.filter.PrimaryFilter
- All Implemented Interfaces:
Filter,org.springframework.web.server.WebFilter
参数过滤和校验过滤器,负责处理和验证请求参数,设置上下文
- Since:
- Java 17+
- Author:
- Justubborn
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.miaixz.bus.vortex.filter.AbstractFilter
checkParams, filter, getAssets, getContext, getRequestMap, setContentType
-
Constructor Details
-
PrimaryFilter
public PrimaryFilter()
-
-
Method Details
-
doFilter
protected reactor.core.publisher.Mono<Void> doFilter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain, Context context) 内部过滤方法,处理请求参数并进行校验- Specified by:
doFilterin classAbstractFilter- Parameters:
exchange- 当前的 ServerWebExchange 对象chain- 过滤器链context- 请求上下文- Returns:
reactor.core.publisher.Mono<Void>表示异步处理完成
-