public class Header
extends Object
implements Externalizable
Constructor and Description |
---|
Header()
The empty constructor is required by
Externalizable . |
Header(javax.servlet.http.Cookie cookie) |
Header(int integer) |
Header(long date) |
Header(String string) |
Modifier and Type | Method and Description |
---|---|
void |
addToResponse(String key,
javax.servlet.http.HttpServletResponse response) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
void |
setToResponse(String key,
javax.servlet.http.HttpServletResponse response) |
String |
toString() |
void |
writeExternal(ObjectOutput objectOutput) |
public Header()
Externalizable
. Do not use
this for any other purpose.public Header(javax.servlet.http.Cookie cookie)
public Header(int integer)
public Header(long date)
public Header(String string)
public void addToResponse(String key, javax.servlet.http.HttpServletResponse response)
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void readExternal(ObjectInput objectInput) throws IOException
readExternal
in interface Externalizable
IOException
public void setToResponse(String key, javax.servlet.http.HttpServletResponse response)
public String toString()
toString
in class Object
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException