Package play.mvc

Interface Http.Cookies

All Superinterfaces:
Iterable<Http.Cookie>
Enclosing class:
Http

public static interface Http.Cookies extends Iterable<Http.Cookie>
HTTP Cookies set
  • Method Details

    • get

      Parameters:
      name - Name of the cookie to retrieve
      Returns:
      the cookie that is associated with the given name
    • getCookie

      @Deprecated default Optional<Http.Cookie> getCookie(String name)
      Deprecated.
      Deprecated as of 2.8.0. Renamed to get(String)
      Parameters:
      name - Name of the cookie to retrieve
      Returns:
      the optional cookie that is associated with the given name