Package org.apache.syncope.sra.filters
Class LinkRewriteGatewayFilterFactory
java.lang.Object
org.springframework.cloud.gateway.support.AbstractConfigurable<CustomGatewayFilterFactory.Config>
org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory<CustomGatewayFilterFactory.Config>
org.apache.syncope.sra.filters.CustomGatewayFilterFactory
org.apache.syncope.sra.filters.ModifyResponseGatewayFilterFactory
org.apache.syncope.sra.filters.LinkRewriteGatewayFilterFactory
- All Implemented Interfaces:
Aware,org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory<CustomGatewayFilterFactory.Config>,org.springframework.cloud.gateway.support.Configurable<CustomGatewayFilterFactory.Config>,org.springframework.cloud.gateway.support.ShortcutConfigurable,ApplicationEventPublisherAware
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.syncope.sra.filters.ModifyResponseGatewayFilterFactory
ModifyResponseGatewayFilterFactory.InternalModifyResponseGatewayFilterNested classes/interfaces inherited from class org.apache.syncope.sra.filters.CustomGatewayFilterFactory
CustomGatewayFilterFactory.ConfigNested classes/interfaces inherited from class org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory.NameConfigNested classes/interfaces inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
org.springframework.cloud.gateway.support.ShortcutConfigurable.GatewayBeanFactoryResolver, org.springframework.cloud.gateway.support.ShortcutConfigurable.GatewayEvaluationContext, org.springframework.cloud.gateway.support.ShortcutConfigurable.RestrictivePropertyAccessor, org.springframework.cloud.gateway.support.ShortcutConfigurable.ShortcutType -
Field Summary
Fields inherited from class org.apache.syncope.sra.filters.ModifyResponseGatewayFilterFactory
LOGFields inherited from interface org.springframework.cloud.gateway.filter.factory.GatewayFilterFactory
NAME_KEY, VALUE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]modifyResponse(InputStream responseBody, CustomGatewayFilterFactory.Config config, ServerHttpResponseDecorator decorator, ServerWebExchange exchange) protected booleanskipCond(ServerHttpResponseDecorator decorator) Methods inherited from class org.apache.syncope.sra.filters.ModifyResponseGatewayFilterFactory
applyMethods inherited from class org.apache.syncope.sra.filters.CustomGatewayFilterFactory
getOrderMethods inherited from class org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory
enableBodyCaching, getPublisher, setApplicationEventPublisherMethods 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, getConfigClass, name, newConfigMethods inherited from interface org.springframework.cloud.gateway.support.ShortcutConfigurable
shortcutFieldOrder, shortcutFieldPrefix, shortcutType
-
Constructor Details
-
LinkRewriteGatewayFilterFactory
public LinkRewriteGatewayFilterFactory()
-
-
Method Details
-
skipCond
- Overrides:
skipCondin classModifyResponseGatewayFilterFactory
-
modifyResponse
protected byte[] modifyResponse(InputStream responseBody, CustomGatewayFilterFactory.Config config, ServerHttpResponseDecorator decorator, ServerWebExchange exchange) throws IOException - Specified by:
modifyResponsein classModifyResponseGatewayFilterFactory- Throws:
IOException
-