Package play.mvc

Class Http.Header

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Http

    public static class Http.Header
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String name  
      java.util.List<java.lang.String> values  
    • Constructor Summary

      Constructors 
      Constructor Description
      Header​(java.lang.String name, java.lang.String value)  
      Header​(java.lang.String name, java.util.List<java.lang.String> values)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • name

        public final java.lang.String name
      • values

        public final java.util.List<java.lang.String> values
    • Constructor Detail

      • Header

        public Header​(java.lang.String name,
                      java.lang.String value)
      • Header

        public Header​(java.lang.String name,
                      java.util.List<java.lang.String> values)
    • Method Detail

      • 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