No examples for this method.
Frequently called with: [Clear]
-1
java.lang.Object | |
↳ | java.net.CookieHandler |
![]() |
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
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.