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,CacheRequestBodyGatewayFilterFactory,DedupeResponseHeaderGatewayFilterFactory,FallbackHeadersGatewayFilterFactory,JsonToGrpcGatewayFilterFactory,MapRequestHeaderGatewayFilterFactory,ModifyRequestBodyGatewayFilterFactory,ModifyResponseBodyGatewayFilterFactory,PrefixPathGatewayFilterFactory,PreserveHostHeaderGatewayFilterFactory,RedirectToGatewayFilterFactory,RemoveRequestHeaderGatewayFilterFactory,RemoveRequestParameterGatewayFilterFactory,RemoveResponseHeaderGatewayFilterFactory,RequestHeaderSizeGatewayFilterFactory,RequestRateLimiterGatewayFilterFactory,RequestSizeGatewayFilterFactory,RetryGatewayFilterFactory,RewriteLocationResponseHeaderGatewayFilterFactory,RewritePathGatewayFilterFactory,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 Classes Modifier and Type Class Description static classAbstractGatewayFilterFactory.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 AbstractGatewayFilterFactory()AbstractGatewayFilterFactory(Class<C> configClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.context.ApplicationEventPublishergetPublisher()voidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)-
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, apply, getConfigClass, name, newConfig
-
Methods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
-
-
-
Method Detail
-
getPublisher
protected org.springframework.context.ApplicationEventPublisher getPublisher()
-
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
- Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-
-