Package org.apache.flink.runtime.rest
Class HttpHeader
java.lang.Object
org.apache.flink.runtime.rest.HttpHeader
Represents an HTTP header with a name and a value.
-
Constructor Summary
ConstructorsConstructorDescriptionHttpHeader(String name, String value) Constructs anHttpHeaderobject with the specified name and value. -
Method Summary
-
Constructor Details
-
HttpHeader
Constructs anHttpHeaderobject with the specified name and value.- Parameters:
name- the name of the HTTP headervalue- the value of the HTTP header
-
-
Method Details
-
getName
Returns the name of this HTTP header.- Returns:
- the name of this HTTP header
-
getValue
Returns the value of this HTTP header.- Returns:
- the value of this HTTP header
-
toString
-
equals
-
hashCode
public int hashCode()
-