Module bus.vortex

Interface Filter

All Superinterfaces:
org.springframework.web.server.WebFilter
All Known Implementing Classes:
AbstractFilter, AuthorizeFilter, CipherFilter, FormatFilter, LimitFilter, PrimaryFilter

public interface Filter extends org.springframework.web.server.WebFilter
定义一个过滤器接口,扩展 Spring WebFlux 的 WebFilter 接口。

该接口用于在 WebFlux 应用中实现 HTTP 请求和响应的过滤逻辑。实现类需要提供具体的过滤逻辑, 通过处理 ServerWebExchange 对象来拦截和修改请求或响应, 并返回 Mono 以支持异步处理。

Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Methods inherited from interface org.springframework.web.server.WebFilter

    filter