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 ClassesNested 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 -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ApplicationEventPublishervoidsetApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) Methods inherited from class org.springframework.cloud.gateway.support.AbstractConfigurable
getConfigClass, newConfig, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
apply, apply, apply, apply, getConfigClass, name, newConfigMethods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
Constructor Details
-
AbstractGatewayFilterFactory
public AbstractGatewayFilterFactory() -
AbstractGatewayFilterFactory
-
-
Method Details
-
getPublisher
protected org.springframework.context.ApplicationEventPublisher getPublisher() -
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) - Specified by:
setApplicationEventPublisherin interfaceorg.springframework.context.ApplicationEventPublisherAware
-