Package com.luciad.net.http
Class HttpHeader
java.lang.Object
com.luciad.net.http.HttpHeader
- All Implemented Interfaces:
AutoCloseable
A class representing an HTTP header and its value.
HttpHeader
instances are immutable.
- Since:
- 2023.0
-
Constructor Summary
ConstructorDescriptionHttpHeader
(String name, String value) Creates a HTTP header with the given name and value. -
Method Summary
-
Constructor Details
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
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
-
hashCode
public int hashCode() -
equals
-