Class HttpHeaders

java.lang.Object
org.apache.tika.pipes.fetcher.http.config.HttpHeaders

public class HttpHeaders extends Object
  • Constructor Details

    • HttpHeaders

      public HttpHeaders()
  • Method Details

    • getHeaders

      public com.google.common.collect.Multimap<String,String> getHeaders()
    • getMap

      public Map<String,Collection<String>> getMap()
      Returns:
      the headers as a map; The map does not support put or putAll, nor do its entries support setValue, so you can't use this to add headers.
    • setMap

      public void setMap(Map<String,Collection<String>> map)
    • setHeaders

      public void setHeaders(com.google.common.collect.Multimap<String,String> headers)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object