Class HeaderUtils.CookiesByNameIterator

    • Constructor Detail

      • CookiesByNameIterator

        protected CookiesByNameIterator​(java.lang.CharSequence cookiePairName)
        Create a new instance.
        cookiePairName - Each return value of next() will have equivalent to this value.
    • Method Detail

      • hasNext

        public final boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<HttpCookiePair>
      • cookieHeaderValue

        protected abstract java.lang.CharSequence cookieHeaderValue()
        Get the current value for HttpHeaderNames.COOKIE. This value may change during iteration.
        the current value for HttpHeaderNames.COOKIE, or null if all have been iterated.
      • initNext

        protected final void initNext​(java.lang.CharSequence cookieHeaderValue)
        Initialize the next HttpCookiePair value for next().
        cookieHeaderValue - The initial value for HttpHeaderNames.COOKIE.