Fork me on GitHub
Edit on GitHub << back to Interceptors

Cookie Provider Interceptor

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

This interceptor clears the HttpSession.

Parameters

Extending the Interceptor

There are no obvious extensions to the existing interceptor.

Examples

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