public abstract static class HeaderUtils.CookiesIterator extends Object implements Iterator<HttpCookiePair>
| Constructor and Description |
|---|
CookiesIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
advanceCookieHeaderValue()
Advance the
cookieHeaderValue() to the next HttpHeaderNames.COOKIE header value. |
protected abstract CharSequence |
cookieHeaderValue()
Get the current value for
HttpHeaderNames.COOKIE. |
boolean |
hasNext() |
protected void |
initNext(CharSequence cookieHeaderValue)
Initialize the next
HttpCookiePair value for next(). |
HttpCookiePair |
next() |
public final boolean hasNext()
hasNext in interface Iterator<HttpCookiePair>public final HttpCookiePair next()
next in interface Iterator<HttpCookiePair>@Nullable protected abstract CharSequence cookieHeaderValue()
HttpHeaderNames.COOKIE. This value may change during iteration.HttpHeaderNames.COOKIE, or null if all have been iterated.protected abstract void advanceCookieHeaderValue()
cookieHeaderValue() to the next HttpHeaderNames.COOKIE header value.protected final void initNext(CharSequence cookieHeaderValue)
HttpCookiePair value for next().cookieHeaderValue - The initial value for HttpHeaderNames.COOKIE.