public abstract class BaseFilter extends Object implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected String |
fullPath |
protected org.springframework.http.server.reactive.ServerHttpRequest |
newRequest |
protected String |
serviceName |
Constructor and Description |
---|
BaseFilter() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
access(org.springframework.http.server.reactive.ServerHttpRequest request) |
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.cloud.gateway.filter.GatewayFilterChain chain) |
protected abstract org.springframework.http.ResponseEntity<Object> |
result() |
protected String fullPath
protected String serviceName
protected org.springframework.http.server.reactive.ServerHttpRequest newRequest
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
filter
in interface org.springframework.cloud.gateway.filter.GlobalFilter
protected abstract boolean access(org.springframework.http.server.reactive.ServerHttpRequest request)
protected abstract org.springframework.http.ResponseEntity<Object> result()
Copyright © 2022. All rights reserved.