Package net.officefloor.server.http
Interface HttpRequestCookies
- All Superinterfaces:
Iterable<HttpRequestCookie>
- All Known Implementing Classes:
MaterialisingHttpRequestCookies
HttpRequestCookie instances for the HttpRequest.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptioncookieAt(int index) Obtains theHttpRequestCookieat the index.Obtains the firstHttpRequestCookieby the name.intlength()Obtains the number ofHttpRequestCookieinstances.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getCookie
Obtains the firstHttpRequestCookieby the name.- Parameters:
name- Name of theHttpRequestCookie.- Returns:
- First
HttpRequestCookieornullif noHttpRequestCookieby the name.
-
cookieAt
Obtains theHttpRequestCookieat the index.- Parameters:
index- Index of theHttpRequestCookie.- Returns:
HttpRequestCookieat the index.
-
length
int length()Obtains the number ofHttpRequestCookieinstances.- Returns:
- Number of
HttpRequestCookieinstances.
-