Package play.mvc
Interface Http.Cookies
- All Superinterfaces:
Iterable<Http.Cookie>
- Enclosing class:
- Http
HTTP Cookies set
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<Http.Cookie>Deprecated.Deprecated as of 2.8.0.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
get
- Parameters:
name- Name of the cookie to retrieve- Returns:
- the cookie that is associated with the given name
-
getCookie
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
-