Class ModifyRequestBodyGatewayFilterFactory
- java.lang.Object
-
- org.springframework.cloud.gateway.support.AbstractConfigurable<C>
-
- org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory<ModifyRequestBodyGatewayFilterFactory.Config>
-
- org.springframework.cloud.gateway.filter.factory.rewrite.ModifyRequestBodyGatewayFilterFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,GatewayFilterFactory<ModifyRequestBodyGatewayFilterFactory.Config>
,Configurable<ModifyRequestBodyGatewayFilterFactory.Config>
,ShortcutConfigurable
,org.springframework.context.ApplicationEventPublisherAware
public class ModifyRequestBodyGatewayFilterFactory extends AbstractGatewayFilterFactory<ModifyRequestBodyGatewayFilterFactory.Config>
GatewayFilter that modifies the request body.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModifyRequestBodyGatewayFilterFactory.Config
-
Nested classes/interfaces inherited from class org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
AbstractGatewayFilterFactory.NameConfig
-
Nested classes/interfaces inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType
-
-
Field Summary
-
Fields inherited from interface org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
NAME_KEY, VALUE_KEY
-
-
Constructor Summary
Constructors Constructor Description ModifyRequestBodyGatewayFilterFactory()
ModifyRequestBodyGatewayFilterFactory(List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayFilter
apply(ModifyRequestBodyGatewayFilterFactory.Config config)
protected reactor.core.publisher.Mono<Void>
release(org.springframework.web.server.ServerWebExchange exchange, CachedBodyOutputMessage outputMessage, Throwable throwable)
-
Methods inherited from class org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
getPublisher, setApplicationEventPublisher
-
Methods inherited from class org.springframework.cloud.gateway.support.AbstractConfigurable
getConfigClass, newConfig, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
apply, apply, apply, getConfigClass, name, newConfig
-
Methods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
-
-
-
Constructor Detail
-
ModifyRequestBodyGatewayFilterFactory
public ModifyRequestBodyGatewayFilterFactory()
-
ModifyRequestBodyGatewayFilterFactory
public ModifyRequestBodyGatewayFilterFactory(List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders)
-
-
Method Detail
-
apply
public GatewayFilter apply(ModifyRequestBodyGatewayFilterFactory.Config config)
-
release
protected reactor.core.publisher.Mono<Void> release(org.springframework.web.server.ServerWebExchange exchange, CachedBodyOutputMessage outputMessage, Throwable throwable)
-
-