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>
HttpRequestCookie
instances for theHttpRequest
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpRequestCookie
cookieAt(int index)
Obtains theHttpRequestCookie
at the index.HttpRequestCookie
getCookie(java.lang.String name)
Obtains the firstHttpRequestCookie
by the name.int
length()
Obtains the number ofHttpRequestCookie
instances.
-
-
-
Method Detail
-
getCookie
HttpRequestCookie getCookie(java.lang.String name)
Obtains the firstHttpRequestCookie
by the name.- Parameters:
name
- Name of theHttpRequestCookie
.- Returns:
- First
HttpRequestCookie
ornull
if noHttpRequestCookie
by the name.
-
cookieAt
HttpRequestCookie cookieAt(int index)
Obtains theHttpRequestCookie
at the index.- Parameters:
index
- Index of theHttpRequestCookie
.- Returns:
HttpRequestCookie
at the index.
-
length
int length()
Obtains the number ofHttpRequestCookie
instances.- Returns:
- Number of
HttpRequestCookie
instances.
-
-