Class SetStatusCodeAfterCacheExchangeMutator
java.lang.Object
org.springframework.cloud.gateway.filter.factory.cache.postprocessor.SetStatusCodeAfterCacheExchangeMutator
- All Implemented Interfaces:
BiConsumer<org.springframework.web.server.ServerWebExchange, CachedResponse>, AfterCacheExchangeMutator
public class SetStatusCodeAfterCacheExchangeMutator
extends Object
implements AfterCacheExchangeMutator
It sets HTTP Status Code.
- Author:
- Marta Medio, Ignacio Lozano
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(org.springframework.web.server.ServerWebExchange exchange, CachedResponse cachedResponse) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
SetStatusCodeAfterCacheExchangeMutator
public SetStatusCodeAfterCacheExchangeMutator()
-
-
Method Details
-
accept
public void accept(org.springframework.web.server.ServerWebExchange exchange, CachedResponse cachedResponse) - Specified by:
acceptin interfaceBiConsumer<org.springframework.web.server.ServerWebExchange, CachedResponse>
-