Revision 1083
Added by Jing Tao over 22 years ago
src/edu/ucsb/nceas/metacat/HttpMessage.java | ||
---|---|---|
154 | 154 |
} |
155 | 155 |
return buf.toString(); |
156 | 156 |
} |
157 |
|
|
158 |
/** |
|
159 |
* return the cookie that this message object contains |
|
160 |
*/ |
|
161 |
public static void setCookie(String newCookie) |
|
162 |
{ |
|
163 |
cookie = newCookie; |
|
164 |
} |
|
157 | 165 |
} |
Also available in: Unified diff
Add setCookie method in this class. Junit test class need this method.