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, wait
filter, filterRequest, supports
public static final String FORWARDED_HEADER
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public org.springframework.http.HttpHeaders filter(org.springframework.http.HttpHeaders input, org.springframework.web.server.ServerWebExchange exchange)
HttpHeadersFilter
filter
in interface HttpHeadersFilter
input
- Http Headersexchange
- a ServerWebExchange
that should be filteredCopyright © 2019 Pivotal Software, Inc.. All rights reserved.