@Test public void emptyHeadersHasEmptyNames() { HttpHeaders httpHeaders = new HttpHeaders.Builder().build(); assertThat(httpHeaders.names(), is(emptyIterable())); }
public Set<String> names() { return ImmutableSet.copyOf(nettyHeaders.names()); }
HttpHeaders implements Iterable<HttpHeader> { public Set<String> names() { return ImmutableSet.copyOf(nettyHeaders.names()); } }
HttpHeaders implements Iterable<HttpHeader> { public Set<String> names() { return ImmutableSet.copyOf(nettyHeaders.names()); } private  HttpHeaders(Builder builder); }
HttpHeaders implements Iterable<HttpHeader> { public Set<String> names() { return ImmutableSet.copyOf(nettyHeaders.names()); } private  HttpHeaders(Builder builder); Set<String> names(); Optional<String> get(CharSequence name); List<String> getAll(CharSequence name); boolean contains(CharSequence name); @Override Iterator<HttpHeader> iterator(); void forEach(BiConsumer<String, String> consumer); Builder newBuilder(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
HttpHeaders implements Iterable<HttpHeader> { public Set<String> names() { return ImmutableSet.copyOf(nettyHeaders.names()); } private  HttpHeaders(Builder builder); Set<String> names(); Optional<String> get(CharSequence name); List<String> getAll(CharSequence name); boolean contains(CharSequence name); @Override Iterator<HttpHeader> iterator(); void forEach(BiConsumer<String, String> consumer); Builder newBuilder(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }