play.mvc
Class Http.Header
java.lang.Object
play.mvc.Http.Header
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Http
public static class Http.Header
- extends java.lang.Object
- implements java.io.Serializable
An HTTP Header
- See Also:
- Serialized Form
Field Summary |
java.lang.String |
name
Header name |
java.util.List<java.lang.String> |
values
Header value |
Constructor Summary |
Http.Header()
|
Http.Header(java.lang.String name,
java.util.List<java.lang.String> values)
|
Http.Header(java.lang.String name,
java.lang.String value)
|
Method Summary |
java.lang.String |
toString()
|
java.lang.String |
value()
First value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
public java.lang.String name
- Header name
values
public java.util.List<java.lang.String> values
- Header value
Http.Header
public Http.Header()
Http.Header
public Http.Header(java.lang.String name,
java.lang.String value)
Http.Header
public Http.Header(java.lang.String name,
java.util.List<java.lang.String> values)
value
public java.lang.String value()
- First value
- Returns:
- The first value
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly