Provides utilities for persistent cookies.
Attributes
Members list
Value members
Abstract methods
Clears all persistent cookies.
Clears all persistent cookies.
Value parameters
- expiredOnly
-
specifies whether expired cookies only are cleared
Attributes
- Returns
-
this cookie store
Gets cookies that should be used in request to supplied target.
Gets cookies that should be used in request to supplied target.
Value parameters
- target
-
request URI
Attributes
- Throws
-
java.lang.IllegalArgumentException
if target is not HTTP or WebSocket URI
Lists all persistent cookies.
Lists all persistent cookies.
Attributes
Adds cookies that are in response to request of supplied target.
Adds cookies that are in response to request of supplied target.
Value parameters
- cookies
-
response cookies
- target
-
request URI
Attributes
- Returns
-
this cookie store
- Throws
-
java.lang.IllegalArgumentException
if target is not HTTP or WebSocket URI
Gets number of cookies in cookie store.
Gets number of cookies in cookie store.
Attributes
Concrete methods
Adds cookies that are in response to request of supplied target.
Adds cookies that are in response to request of supplied target.
Value parameters
- more
-
additional response cookies
- one
-
response cookie
- target
-
request URI
Attributes
- Returns
-
this cookie store
- Throws
-
java.lang.IllegalArgumentException
if target is not HTTP or WebSocket URI