Package org.simpleframework.http.message
Class MessageHeader.Series
- java.lang.Object
-
- org.simpleframework.http.message.MessageHeader.Series
-
- Enclosing class:
- MessageHeader
private class MessageHeader.Series extends java.lang.Object
TheSeries
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 Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
value
Contains the header values that belong to the entry name.
-
Constructor Summary
Constructors Constructor Description Series()
Constructor for theEntry
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getValues()
This returns the list of header values associated with the header name.
-
-
-
Method Detail
-
getValues
public java.util.List<java.lang.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
-
-