org.apache.struts2.action

## Interface CookiesAware

-     public interface CookiesAware

  Actions implementing the CookiesAware interface will receive a Map of filtered cookies via the setCookiesMap method. Please note that the `CookieInterceptor` needs to be activated to receive a cookies map.
  Since:
    6.0.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `withCookies(Map<String,String> cookies)` Sets a map of filtered cookies.

- - ### Method Detail

    - #### withCookies

          void withCookies(Map<String,String> cookies)

      Sets a map of filtered cookies.
      Parameters:
        `cookies` - the cookies

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.