Child pages
  • CookieProvider Interceptor
Skip to end of metadata
Go to start of metadata

Allows actions to send cookies to client, action must implement CookieProvider You must reference this interceptor in your default stack or in action's stack, see example below.



Extending the Interceptor

  • addCookiesToResponse - this method applies cookie created by action to response


Error rendering macro 'code': Invalid value specified for parameter 'java.lang.NullPointerException'

<action ... >
  <interceptor-ref name="defaultStack"/>
  <interceptor-ref name="cookieProvider"/>

  • No labels