Interface HTTPHeader.Builder

    • Method Detail

      • name

        HTTPHeader.Builder name​(String name)

        The name of the HTTP header.

        Parameters:
        name - The name of the HTTP header.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        HTTPHeader.Builder value​(String value)

        The value of the HTTP header.

        Parameters:
        value - The value of the HTTP header.
        Returns:
        Returns a reference to this object so that method calls can be chained together.