public class ForwardedHeadersFilter extends Object implements HttpHeadersFilter, org.springframework.core.Ordered
HttpHeadersFilter.Type| Modifier and Type | Field and Description |
|---|---|
static String |
FORWARDED_HEADER
Forwarded header.
|
| Constructor and Description |
|---|
ForwardedHeadersFilter() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpHeaders |
filter(org.springframework.http.HttpHeaders input,
org.springframework.web.server.ServerWebExchange exchange)
Filters a set of Http Headers.
|
int |
getOrder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfilter, filterRequest, supportspublic static final String FORWARDED_HEADER
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic org.springframework.http.HttpHeaders filter(org.springframework.http.HttpHeaders input,
org.springframework.web.server.ServerWebExchange exchange)
HttpHeadersFilterfilter in interface HttpHeadersFilterinput - Http Headersexchange - a ServerWebExchange that should be filteredCopyright © 2022 Pivotal Software, Inc.. All rights reserved.