Class Cookies
java.lang.Object
is.galia.http.Cookies
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
clear()
boolean
static Cookies
fromHeaderValue
(String headerValue) getAll()
getFirstValue
(String name) getFirstValue
(String name, String defaultValue) int
hashCode()
iterator()
void
void
Replaces all cookies with the given name with a single cookie.int
size()
stream()
toMap()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Cookies
public Cookies() -
Cookies
Copy constructor.
-
-
Method Details
-
fromHeaderValue
- Parameters:
headerValue
- HTTP header value.- Returns:
- New instance.
- Throws:
IllegalArgumentException
- if the given header value cannot be parsed.
-
add
-
add
-
addAll
-
clear
public void clear() -
equals
-
getAll
-
getAll
-
getFirstValue
-
getFirstValue
-
hashCode
-
iterator
-
removeAll
-
set
-
size
public int size() -
stream
-
toMap
-