Class Header
java.lang.Object
org.springframework.security.web.header.Header
Represents a Header to be added to the
HttpServletResponse
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Header
Creates a new instance- Parameters:
headerName
- the name of the headerheaderValues
- the values of the header
-
-
Method Details
-
getName
Gets the name of the header. Cannot benull
.- Returns:
- the name of the header.
-
getValues
Gets the values of the header. Cannot be null, empty, or contain null values.- Returns:
- the values of the header
-
equals
-
hashCode
public int hashCode() -
toString
-