Class SaveSessionGatewayFilterFactory

All Implemented Interfaces:
org.springframework.beans.factory.Aware, GatewayFilterFactory<Object>, Configurable<Object>, ShortcutConfigurable, org.springframework.context.ApplicationEventPublisherAware

public class SaveSessionGatewayFilterFactory extends AbstractGatewayFilterFactory<Object>
Save the current 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.
Author:
Greg Turnquist
  • Constructor Details

    • SaveSessionGatewayFilterFactory

      public SaveSessionGatewayFilterFactory()
  • Method Details