Module bus.vortex

Class PrimaryFilter

java.lang.Object
org.miaixz.bus.vortex.filter.AbstractFilter
org.miaixz.bus.vortex.filter.PrimaryFilter
All Implemented Interfaces:
Filter, org.springframework.web.server.WebFilter

@Order(-2147483648) public class PrimaryFilter extends AbstractFilter
参数过滤和校验过滤器,负责处理和验证请求参数,设置上下文
Since:
Java 17+
Author:
Justubborn
  • 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:
      doFilter in class AbstractFilter
      Parameters:
      exchange - 当前的 ServerWebExchange 对象
      chain - 过滤器链
      context - 请求上下文
      Returns:
      reactor.core.publisher.Mono<Void> 表示异步处理完成