Home | History | Annotate | Download | only in client

Lines Matching refs:cookies

60     private final ArrayList<Cookie> cookies;
71 this.cookies = new ArrayList<Cookie>();
76 * Adds an {@link Cookie HTTP cookie}, replacing any existing equivalent cookies.
88 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
95 cookies.add(cookie);
101 * Adds an array of {@link Cookie HTTP cookies}. Cookies are added individually and
102 * in the given array order. If any of the given cookies has already expired it will
105 * @param cookies the {@link Cookie cookies} to be added
110 public synchronized void addCookies(Cookie[] cookies) {
111 if (cookies != null) {
112 for (Cookie cooky : cookies) {
119 * Returns an immutable array of {@link Cookie cookies} that this HTTP
122 * @return an array of {@link Cookie cookies}.
125 return Collections.unmodifiableList(this.cookies);
129 * Removes all of {@link Cookie cookies} in this HTTP state
132 * @return true if any cookies were purged.
141 for (Iterator<Cookie> it = cookies.iterator(); it.hasNext();) {
152 return cookies.toString();
156 * Clears all cookies.
159 cookies.clear();