类 RequestApiFilter
- java.lang.Object
-
- cn.futuai.open.encrypt.filter.request.RequestApiFilter
-
- 所有已实现的接口:
org.springframework.cloud.gateway.filter.GlobalFilter,org.springframework.core.Ordered
public class RequestApiFilter extends Object implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
api接口校验和解密过滤器- 作者:
- gyf
- skip date tag
- 2024/06/08 14:28
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringAES_KEYAes密钥static StringORG_BODY原始请求体static StringORG_QUERY_STRING原始请求参数static StringSIGN签名static StringTIMES_TAMP时间戳
-
构造器概要
构造器 构造器 说明 RequestApiFilter()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 reactor.core.publisher.Mono<Void>filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)intgetOrder()static booleanisMatchUrl(String url, List<String> urlList)static booleanisPass(org.springframework.http.server.reactive.ServerHttpRequest request, GatewayApiEncryptProperty.CheckModel checkModel)
-
-
-
方法详细资料
-
filter
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
- 指定者:
filter在接口中org.springframework.cloud.gateway.filter.GlobalFilter
-
getOrder
public int getOrder()
- 指定者:
getOrder在接口中org.springframework.core.Ordered
-
isPass
public static boolean isPass(org.springframework.http.server.reactive.ServerHttpRequest request, GatewayApiEncryptProperty.CheckModel checkModel)
-
-