Home | History | Annotate | Download | only in client

Lines Matching refs:cookies

65     private final ArrayList<Cookie> cookies;
76 this.cookies = new ArrayList<Cookie>();
81 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
93 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
100 cookies.add(cookie);
106 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
107 * in the given array order. If any of the given cookies has already expired it will
110 * @param cookies the {@link Cookie cookies} to be added
115 public synchronized void addCookies(Cookie[] cookies) {
116 if (cookies != null) {
117 for (Cookie cooky : cookies) {
124 * Returns an immutable array of {@link Cookie cookies} that this HTTP
127 * @return an array of {@link Cookie cookies}.
130 return Collections.unmodifiableList(this.cookies);
134 * Removes all of {@link Cookie cookies} in this HTTP state
137 * @return true if any cookies were purged.
146 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
157 return cookies.toString();
161 * Clears all cookies.
164 cookies.clear();