ForwardedHeaderTransformer
which can be declared as a bean with the
name "forwardedHeaderTransformer" or registered explicitly in
WebHttpHandlerBuilder
.@Deprecated public class ForwardedHeaderFilter extends ForwardedHeaderTransformer implements WebFilter
HttpRequest.getURI()
) so it reflects the
client-originated protocol and address.
Alternatively if removeOnly
is set to "true", then
"Forwarded" and "X-Forwarded-*" headers are only removed and not used.
Constructor and Description |
---|
ForwardedHeaderFilter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
filter(ServerWebExchange exchange,
WebFilterChain chain)
Deprecated.
Process the Web request and (optionally) delegate to the next
WebFilter through the given WebFilterChain . |
apply, hasForwardedHeaders, isRemoveOnly, setRemoveOnly
public reactor.core.publisher.Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain)
WebFilter
WebFilter
through the given WebFilterChain
.