Class AbstractGatewayFilterFactory<C>
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<C>
org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory<C>
- Type Parameters:
C-AbstractConfigurablesubtype
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, GatewayFilterFactory<C>, Configurable<C>, ShortcutConfigurable, org.springframework.context.ApplicationEventPublisherAware
- Direct Known Subclasses:
AbstractChangeRequestUriGatewayFilterFactory, AbstractNameValueGatewayFilterFactory, AddRequestHeadersIfNotPresentGatewayFilterFactory, CacheRequestBodyGatewayFilterFactory, DedupeResponseHeaderGatewayFilterFactory, FallbackHeadersGatewayFilterFactory, JsonToGrpcGatewayFilterFactory, LocalResponseCacheGatewayFilterFactory, MapRequestHeaderGatewayFilterFactory, ModifyRequestBodyGatewayFilterFactory, ModifyResponseBodyGatewayFilterFactory, PrefixPathGatewayFilterFactory, PreserveHostHeaderGatewayFilterFactory, RedirectToGatewayFilterFactory, RemoveJsonAttributesResponseBodyGatewayFilterFactory, RemoveRequestHeaderGatewayFilterFactory, RemoveRequestParameterGatewayFilterFactory, RemoveResponseHeaderGatewayFilterFactory, RequestHeaderSizeGatewayFilterFactory, RequestRateLimiterGatewayFilterFactory, RequestSizeGatewayFilterFactory, RetryGatewayFilterFactory, RewriteLocationResponseHeaderGatewayFilterFactory, RewritePathGatewayFilterFactory, RewriteRequestParameterGatewayFilterFactory, RewriteResponseHeaderGatewayFilterFactory, SaveSessionGatewayFilterFactory, SecureHeadersGatewayFilterFactory, SetPathGatewayFilterFactory, SetRequestHostHeaderGatewayFilterFactory, SetStatusGatewayFilterFactory, SpringCloudCircuitBreakerFilterFactory, StripPrefixGatewayFilterFactory, TokenRelayGatewayFilterFactory
public abstract class AbstractGatewayFilterFactory<C>
extends AbstractConfigurable<C>
implements GatewayFilterFactory<C>, org.springframework.context.ApplicationEventPublisherAware
This class is BETA and may be subject to change in a future release.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ShortcutConfigurable
ShortcutConfigurable.GatewayBeanFactoryResolver, ShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutType -
Field Summary
Fields inherited from interface GatewayFilterFactory
NAME_KEY, VALUE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidenableBodyCaching(@Nullable String routeId) protected @Nullable org.springframework.context.ApplicationEventPublishervoidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) Methods inherited from class AbstractConfigurable
getConfigClass, newConfig, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface GatewayFilterFactory
apply, apply, apply, apply, getConfigClass, name, newConfigMethods inherited from interface ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
Constructor Details
-
AbstractGatewayFilterFactory
public AbstractGatewayFilterFactory() -
AbstractGatewayFilterFactory
-
-
Method Details
-
getPublisher
protected @Nullable org.springframework.context.ApplicationEventPublisher getPublisher() -
enableBodyCaching
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) - Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-