Package net.officefloor.server.http
Interface HttpRequestCookies
-
- All Superinterfaces:
java.lang.Iterable<HttpRequestCookie>
- All Known Implementing Classes:
MaterialisingHttpRequestCookies
public interface HttpRequestCookies extends java.lang.Iterable<HttpRequestCookie>
HttpRequestCookieinstances for theHttpRequest.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpRequestCookiecookieAt(int index)Obtains theHttpRequestCookieat the index.HttpRequestCookiegetCookie(java.lang.String name)Obtains the firstHttpRequestCookieby the name.intlength()Obtains the number ofHttpRequestCookieinstances.
-
-
-
Method Detail
-
getCookie
HttpRequestCookie getCookie(java.lang.String name)
Obtains the firstHttpRequestCookieby the name.- Parameters:
name- Name of theHttpRequestCookie.- Returns:
- First
HttpRequestCookieornullif noHttpRequestCookieby the name.
-
cookieAt
HttpRequestCookie cookieAt(int index)
Obtains theHttpRequestCookieat the index.- Parameters:
index- Index of theHttpRequestCookie.- Returns:
HttpRequestCookieat the index.
-
length
int length()
Obtains the number ofHttpRequestCookieinstances.- Returns:
- Number of
HttpRequestCookieinstances.
-
-