public final class Header
extends java.lang.Object
HttpServletResponse
Constructor and Description |
---|
Header(java.lang.String headerName,
java.lang.String... headerValues)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
Gets the name of the header.
|
java.util.List<java.lang.String> |
getValues()
Gets the values of the header.
|
int |
hashCode() |
java.lang.String |
toString() |
public Header(java.lang.String headerName, java.lang.String... headerValues)
headerName
- the name of the headerheaderValues
- the values of the headerpublic java.lang.String getName()
null
.public java.util.List<java.lang.String> getValues()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object