Class Header
Object
com.liferay.portal.kernel.servlet.Header
- All Implemented Interfaces:
Externalizable
,Serializable
- Author:
- Michael Young, Shuyang Zhou
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToResponse
(String key, javax.servlet.http.HttpServletResponse httpServletResponse) boolean
int
hashCode()
void
readExternal
(ObjectInput objectInput) void
setToResponse
(String key, javax.servlet.http.HttpServletResponse httpServletResponse) toString()
void
writeExternal
(ObjectOutput objectOutput)
-
Constructor Details
-
Header
public Header()The empty constructor is required byExternalizable
. Do not use this for any other purpose. -
Header
public Header(javax.servlet.http.Cookie cookieValue) -
Header
public Header(int intValue) -
Header
public Header(long dateValue) -
Header
-
-
Method Details
-
addToResponse
-
equals
-
hashCode
public int hashCode() -
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
-
setToResponse
-
toString
-
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-