org.apache.struts2.interceptor

## Interface CookieProvider

-     public interface CookieProvider

  Action can create cookies which will be stored in response
  See Also:
    `CookieProviderInterceptor`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<javax.servlet.http.Cookie>` | `getCookies()` Return cookies which should be send to client

- - ### Method Detail

    - #### getCookies

          Set<javax.servlet.http.Cookie> getCookies()

      Return cookies which should be send to client
      Returns:
        set of cookies or null

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