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 Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Optional<Http.Cookie>
get(String name)
default Optional<Http.Cookie>
getCookie(String name)
Deprecated.Deprecated as of 2.8.0.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Method Detail
-
get
Optional<Http.Cookie> get(String name)
- 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 toget(String)
- Parameters:
name
- Name of the cookie to retrieve- Returns:
- the optional cookie that is associated with the given name
-
-