Class HeaderUtils.CookiesIterator

    • Constructor Detail

      • CookiesIterator

        public CookiesIterator()
    • Method Detail

      • hasNext

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

        @Nullable
        protected abstract java.lang.CharSequence cookieHeaderValue()
        Get the current value for HttpHeaderNames.COOKIE. This value may change during iteration.
        Returns:
        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().
        Parameters:
        cookieHeaderValue - The initial value for HttpHeaderNames.COOKIE.