@Test public void testIterator() { final HeaderGroup headergroup = new HeaderGroup(); final Iterator<Header> i = headergroup.headerIterator(); Assert.assertNotNull(i); Assert.assertFalse(i.hasNext()); }
@Override public Iterator<Header> headerIterator() { return new BasicListHeaderIterator(this.headers, null); }
HeaderGroup implements MessageHeaders, Serializable { @Override public Iterator<Header> headerIterator() { return new BasicListHeaderIterator(this.headers, null); } }
HeaderGroup implements MessageHeaders, Serializable { @Override public Iterator<Header> headerIterator() { return new BasicListHeaderIterator(this.headers, null); } HeaderGroup(); }
HeaderGroup implements MessageHeaders, Serializable { @Override public Iterator<Header> headerIterator() { return new BasicListHeaderIterator(this.headers, null); } HeaderGroup(); void clear(); void addHeader(final Header header); boolean removeHeader(final Header header); boolean removeHeaders(final Header header); void setHeader(final Header header); void setHeaders(final Header... headers); Header getCondensedHeader(final String name); @Override Header[] getHeaders(final String name); @Override Header getFirstHeader(final String name); @Override Header getHeader(final String name); @Override Header getLastHeader(final String name); @Override Header[] getHeaders(); @Override boolean containsHeader(final String name); @Override int countHeaders(final String name); @Override Iterator<Header> headerIterator(); @Override Iterator<Header> headerIterator(final String name); boolean removeHeaders(final String name); @Override String toString(); }
HeaderGroup implements MessageHeaders, Serializable { @Override public Iterator<Header> headerIterator() { return new BasicListHeaderIterator(this.headers, null); } HeaderGroup(); void clear(); void addHeader(final Header header); boolean removeHeader(final Header header); boolean removeHeaders(final Header header); void setHeader(final Header header); void setHeaders(final Header... headers); Header getCondensedHeader(final String name); @Override Header[] getHeaders(final String name); @Override Header getFirstHeader(final String name); @Override Header getHeader(final String name); @Override Header getLastHeader(final String name); @Override Header[] getHeaders(); @Override boolean containsHeader(final String name); @Override int countHeaders(final String name); @Override Iterator<Header> headerIterator(); @Override Iterator<Header> headerIterator(final String name); boolean removeHeaders(final String name); @Override String toString();  }