Class HTTPHeader


  • public class HTTPHeader
    extends Object
    Describes the HTTP header.
    • Constructor Detail

      • HTTPHeader

        public HTTPHeader()
    • Method Detail

      • name

        public String name()
        Get the name value.
        Returns:
        the name value
      • withName

        public HTTPHeader withName​(String name)
        Set the name value.
        Parameters:
        name - the name value to set
        Returns:
        the HTTPHeader object itself.
      • value

        public String value()
        Get the value value.
        Returns:
        the value value
      • withValue

        public HTTPHeader withValue​(String value)
        Set the value value.
        Parameters:
        value - the value value to set
        Returns:
        the HTTPHeader object itself.