Package | Description |
---|---|
com.teamdev.jexplorer |
Contains the basic classes and interfaces.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Cookie> |
Cookie.create(java.lang.String str)
Creates cookies by cookie string from HTTP request / response.
|
java.util.List<Cookie> |
Browser.getCookies(java.lang.String url)
Returns cookies associated with the
url or empty collection is no cookies available for this URL. |
Modifier and Type | Method and Description |
---|---|
void |
Browser.setCookie(java.lang.String url,
Cookie... cookie)
Sets/updates cookie associated with specified
url . |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Cookie.makeString(java.util.Collection<Cookie> cookies)
Creates cookie string for HTTP request / response.
|
void |
Browser.setCookies(java.lang.String url,
java.util.Collection<Cookie> cookies)
Sets/updates list of cookies associated with specified
url . |
Constructor and Description |
---|
Cookie(Cookie cookie)
Creates a copy of the passed
cookie . |