@ConfigurationProperties(value="spring.cloud.gateway.filter.remove-non-proxy-headers") public class RemoveNonProxyHeadersGatewayFilterFactory extends Object implements GatewayFilterFactory
Modifier and Type | Field and Description |
---|---|
static String[] |
DEFAULT_HEADERS_TO_REMOVE |
NAME_KEY, VALUE_KEY
Constructor and Description |
---|
RemoveNonProxyHeadersGatewayFilterFactory() |
Modifier and Type | Method and Description |
---|---|
GatewayFilter |
apply(List<String> headersToRemove) |
GatewayFilter |
apply(org.springframework.tuple.Tuple args) |
List<String> |
getHeaders() |
void |
setHeaders(List<String> headers) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mutate, name
argNames, validate, validateArgs, validateMin
public static final String[] DEFAULT_HEADERS_TO_REMOVE
public RemoveNonProxyHeadersGatewayFilterFactory()
public GatewayFilter apply(org.springframework.tuple.Tuple args)
apply
in interface GatewayFilterFactory
public GatewayFilter apply(List<String> headersToRemove)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.