Class AsyncHttpClientHeaders

java.lang.Object
ru.tinkoff.kora.http.common.header.AbstractHttpHeaders
ru.tinkoff.kora.http.client.async.AsyncHttpClientHeaders
All Implemented Interfaces:
Iterable<Map.Entry<String,List<String>>>, ru.tinkoff.kora.http.common.header.HttpHeaders

public class AsyncHttpClientHeaders extends ru.tinkoff.kora.http.common.header.AbstractHttpHeaders implements ru.tinkoff.kora.http.common.header.HttpHeaders
  • Constructor Details

    • AsyncHttpClientHeaders

      public AsyncHttpClientHeaders(io.netty.handler.codec.http.HttpHeaders headers)
  • Method Details

    • getFirst

      @Nullable public String getFirst(String name)
      Specified by:
      getFirst in interface ru.tinkoff.kora.http.common.header.HttpHeaders
    • getAll

      public List<String> getAll(String name)
      Specified by:
      getAll in interface ru.tinkoff.kora.http.common.header.HttpHeaders
    • has

      public boolean has(String key)
      Specified by:
      has in interface ru.tinkoff.kora.http.common.header.HttpHeaders
    • size

      public int size()
      Specified by:
      size in interface ru.tinkoff.kora.http.common.header.HttpHeaders
    • names

      public Set<String> names()
      Specified by:
      names in interface ru.tinkoff.kora.http.common.header.HttpHeaders
    • iterator

      @Nonnull public Iterator<Map.Entry<String,List<String>>> iterator()
      Specified by:
      iterator in interface Iterable<Map.Entry<String,List<String>>>