Class HttpHeader

java.lang.Object
org.apache.flink.runtime.rest.HttpHeader

public class HttpHeader extends Object
Represents an HTTP header with a name and a value.
  • Constructor Details

    • HttpHeader

      public HttpHeader(String name, String value)
      Constructs an HttpHeader object with the specified name and value.
      Parameters:
      name - the name of the HTTP header
      value - the value of the HTTP header
  • Method Details

    • getName

      public String getName()
      Returns the name of this HTTP header.
      Returns:
      the name of this HTTP header
    • getValue

      public String getValue()
      Returns the value of this HTTP header.
      Returns:
      the value of this HTTP header
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object