public static class HttpClient.CookieStore extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence maxOccurs="unbounded" minOccurs="0">
<element name="Cookie">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="domain" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="path" type="{http://www.w3.org/2001/XMLSchema}string" default="/" />
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClient.CookieStore.Cookie
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<HttpClient.CookieStore.Cookie> |
cookie |
| Constructor and Description |
|---|
CookieStore() |
| Modifier and Type | Method and Description |
|---|---|
List<HttpClient.CookieStore.Cookie> |
getCookie()
Gets the value of the cookie property.
|
protected List<HttpClient.CookieStore.Cookie> cookie
public List<HttpClient.CookieStore.Cookie> getCookie()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the cookie property.
For example, to add a new item, do as follows:
getCookie().add(newItem);
Objects of the following type(s) are allowed in the list
HttpClient.CookieStore.Cookie
Copyright © 2016. All rights reserved.