public class SaveSessionGatewayFilterFactory extends AbstractGatewayFilterFactory<Object>
WebSession before executing the rest of the
GatewayFilterChain.
Filter is very useful for situation where the WebSession is lazy (e.g. Spring Session
MongoDB) and making a remote call requires that WebSession.save() be called
before the remote call is made.AbstractGatewayFilterFactory.NameConfigShortcutConfigurable.GatewayEvaluationContext, ShortcutConfigurable.RestrictivePropertyAccessor, ShortcutConfigurable.ShortcutTypeNAME_KEY, VALUE_KEY| Constructor and Description |
|---|
SaveSessionGatewayFilterFactory() |
| Modifier and Type | Method and Description |
|---|---|
GatewayFilter |
apply(Object config) |
getPublisher, setApplicationEventPublishergetConfigClass, newConfig, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapply, apply, apply, getConfigClass, name, newConfiggetValue, normalizeKey, shortcutFieldOrder, shortcutFieldPrefix, shortcutTypepublic GatewayFilter apply(Object config)
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.