Class HttpHeaders

java.lang.Object
com.atlassian.bamboo.web.HttpHeaders
All Implemented Interfaces:
Serializable, Map<String,List<String>>, org.springframework.util.MultiValueMap<String,String>

public class HttpHeaders extends Object implements org.springframework.util.MultiValueMap<String,String>, Serializable
Represents HTTP request and response headers, mapping string header names to a list of string values.
Since:
10.0
See Also:
  • Constructor Details

    • HttpHeaders

      public HttpHeaders()
      Construct a new, empty instance of the HttpHeaders object.

      This is the common constructor, using a case-insensitive map structure.

    • HttpHeaders

      public HttpHeaders(org.springframework.util.MultiValueMap<String,String> headers)
      Construct a new HttpHeaders instance backed by an existing map.

      This constructor is available as an optimization for adapting to existing headers map structures, primarily for internal use within the framework.

      Parameters:
      headers - the headers map (expected to operate with case-insensitive keys)
  • Method Details