public class ModifyResponseBodyGatewayFilterFactory.ModifyResponseGatewayFilter extends Object implements GatewayFilter, org.springframework.core.Ordered
ShortcutConfigurable.ShortcutTypeNAME_KEY, VALUE_KEY| Constructor and Description |
|---|
ModifyResponseGatewayFilter(ModifyResponseBodyGatewayFilterFactory.Config config) |
ModifyResponseGatewayFilter(ModifyResponseBodyGatewayFilterFactory.Config config,
org.springframework.http.codec.ServerCodecConfigurer codecConfigurer)
Deprecated.
|
| 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, waitgetValue, normalizeKey, shortcutFieldOrder, shortcutFieldPrefix, shortcutTypepublic ModifyResponseGatewayFilter(ModifyResponseBodyGatewayFilterFactory.Config config)
@Deprecated public ModifyResponseGatewayFilter(ModifyResponseBodyGatewayFilterFactory.Config config, @Nullable org.springframework.http.codec.ServerCodecConfigurer codecConfigurer)
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, GatewayFilterChain chain)
GatewayFilterWebFilter
through the given GatewayFilterChain.filter in interface GatewayFilterexchange - 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.Orderedpublic void setFactory(GatewayFilterFactory<ModifyResponseBodyGatewayFilterFactory.Config> gatewayFilterFactory)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.