public abstract static class HeaderUtils.CookiesIterator extends java.lang.Object implements java.util.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 java.lang.CharSequence |
cookieHeaderValue()
Get the current value for
HttpHeaderNames.COOKIE . |
boolean |
hasNext() |
protected void |
initNext(java.lang.CharSequence cookieHeaderValue)
Initialize the next
HttpCookiePair value for next() . |
HttpCookiePair |
next() |
public final boolean hasNext()
hasNext
in interface java.util.Iterator<HttpCookiePair>
public final HttpCookiePair next()
next
in interface java.util.Iterator<HttpCookiePair>
@Nullable protected abstract java.lang.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(java.lang.CharSequence cookieHeaderValue)
HttpCookiePair
value for next()
.cookieHeaderValue
- The initial value for HttpHeaderNames.COOKIE
.