Class HttpHeaders


  • public class HttpHeaders
    extends Object
    • Constructor Detail

      • HttpHeaders

        public HttpHeaders()
    • Method Detail

      • 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.
      • setHeaders

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

        public int hashCode()
        Overrides:
        hashCode in class Object