public class OrderedGatewayFilter extends Object implements GatewayFilter, org.springframework.core.Ordered
ShortcutConfigurable.ShortcutType
NAME_KEY, VALUE_KEY
Constructor and Description |
---|
OrderedGatewayFilter(GatewayFilter delegate,
int order) |
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 . |
GatewayFilter |
getDelegate() |
int |
getOrder() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue, normalizeKey, shortcutFieldOrder, shortcutFieldPrefix, shortcutType
public OrderedGatewayFilter(GatewayFilter delegate, int order)
public GatewayFilter getDelegate()
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
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.