Class MessageHeader.Series

java.lang.Object
org.simpleframework.http.message.MessageHeader.Series
Enclosing class:
MessageHeader

private class MessageHeader.Series extends Object
The Series object is used to represent a list of HTTP header value for a given name. It allows multiple values to exist for a given header, such as the Cookie header. Most entries will contain a single value.
  • Field Details

    • value

      private List<String> value
      Contains the header values that belong to the entry name.
  • Constructor Details

    • Series

      public Series()
      Constructor for the Entry object. The entry is created using the name of the HTTP header. Values can be added to the entry list in order to build up the header.
  • Method Details

    • getValues

      public List<String> getValues()
      This returns the list of header values associated with the header name. Each value is added as an individual header prefixed by the header name and a semicolon character.
      Returns:
      this returns the list of values for the header