| java.lang.Object | |
| ↳ | java.net.CookieHandler |
Known Direct Subclasses
|
This class provides a way to manage cookies with a HTTP protocol handler.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets all cookies for a specific URI from the cookie cache.
| |||||||||||
Returns the system-wide cookie handler or
null if not set.
| |||||||||||
Sets all cookies of a specific URI in the
responseHeaders into
the cookie cache.
| |||||||||||
Sets the system-wide cookie handler.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Gets all cookies for a specific URI from the cookie cache.
| uri | a URI to search for applicable cookies. |
|---|---|
| requestHeaders | a list of request headers. |
| IOException | if an error occurs during the I/O operation. |
|---|
Returns the system-wide cookie handler or null if not set.
Sets all cookies of a specific URI in the responseHeaders into
the cookie cache.
| uri | the origin URI of the cookies. |
|---|---|
| responseHeaders | a list of request headers. |
| IOException | if an error occurs during the I/O operation. |
|---|
Sets the system-wide cookie handler.