public class ModifyResponseBodyGatewayFilterFactory.ModifyResponseGatewayFilter extends Object implements GatewayFilter, org.springframework.core.Ordered
ShortcutConfigurable.ShortcutType
NAME_KEY, VALUE_KEY
Constructor and Description |
---|
ModifyResponseGatewayFilter(ModifyResponseBodyGatewayFilterFactory.Config config) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
GatewayFilterChain chain)
Process the Web request and (optionally) delegate to the next
WebFilter
through the given GatewayFilterChain . |
int |
getOrder() |
void |
setFactory(GatewayFilterFactory<ModifyResponseBodyGatewayFilterFactory.Config> gatewayFilterFactory) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, normalizeKey, shortcutFieldOrder, shortcutFieldPrefix, shortcutType
public ModifyResponseGatewayFilter(ModifyResponseBodyGatewayFilterFactory.Config config)
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, GatewayFilterChain chain)
GatewayFilter
WebFilter
through the given GatewayFilterChain
.filter
in interface GatewayFilter
exchange
- the current server exchangechain
- provides a way to delegate to the next filterMono<Void>
to indicate when request processing is completepublic int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setFactory(GatewayFilterFactory<ModifyResponseBodyGatewayFilterFactory.Config> gatewayFilterFactory)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.