Add some javadocs notes that explain the behavior of CookieEncoder.encode(). See #94
This commit is contained in:
parent
05615c4779
commit
c44f365ee7
@ -82,6 +82,8 @@ public class CookieEncoder {
|
|||||||
* Encodes the {@link Cookie}s which were added by {@link #addCookie(Cookie)}
|
* Encodes the {@link Cookie}s which were added by {@link #addCookie(Cookie)}
|
||||||
* so far into an HTTP header value. If no {@link Cookie}s were added,
|
* so far into an HTTP header value. If no {@link Cookie}s were added,
|
||||||
* an empty string is returned.
|
* an empty string is returned.
|
||||||
|
*
|
||||||
|
* <strong>Be aware that calling this method will clear the contends of the {@link CookieEncoder}</strong>
|
||||||
*/
|
*/
|
||||||
public String encode() {
|
public String encode() {
|
||||||
String answer;
|
String answer;
|
||||||
|
Loading…
Reference in New Issue
Block a user