Home > Guides > Core Developers Guide > Interceptors > CookieProvider Interceptor

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.

Parameters

none

Extending the Interceptor

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

Examples