public class SaveSessionGatewayFilterFactory extends Object implements GatewayFilterFactory
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.NAME_KEY, VALUE_KEY
Constructor and Description |
---|
SaveSessionGatewayFilterFactory() |
Modifier and Type | Method and Description |
---|---|
GatewayFilter |
apply(org.springframework.tuple.Tuple args) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mutate, name
argNames, validate, validateArgs, validateMin
public GatewayFilter apply(org.springframework.tuple.Tuple args)
apply
in interface GatewayFilterFactory
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.