org.apache.struts2.interceptor

## Interface CookiesAware

- Deprecated.
  please use `CookiesAware` instead

      @Deprecated
      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.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setCookiesMap(Map<String,String> cookies)` Deprecated. please use `CookiesAware.withCookies(Map)` instead

- - ### Method Detail

    - #### setCookiesMap

          void setCookiesMap(Map<String,String> cookies)

      Deprecated. please use `CookiesAware.withCookies(Map)` instead
      Sets a map of filtered cookies.
      Parameters:
        `cookies` - the cookies

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