jdk/src/share/classes/java/net/CookiePolicy.java
changeset 18156 edb590d448c5
parent 18148 d641a1b31205
child 19069 1d9cb0d080e3
equal deleted inserted replaced
18155:889970e5b728 18156:edb590d448c5
    28 /**
    28 /**
    29  * CookiePolicy implementations decide which cookies should be accepted
    29  * CookiePolicy implementations decide which cookies should be accepted
    30  * and which should be rejected. Three pre-defined policy implementations
    30  * and which should be rejected. Three pre-defined policy implementations
    31  * are provided, namely ACCEPT_ALL, ACCEPT_NONE and ACCEPT_ORIGINAL_SERVER.
    31  * are provided, namely ACCEPT_ALL, ACCEPT_NONE and ACCEPT_ORIGINAL_SERVER.
    32  *
    32  *
    33  * <p>See RFC 2965 sec. 3.3 & 7 for more detail.
    33  * <p>See RFC 2965 sec. 3.3 and 7 for more detail.
    34  *
    34  *
    35  * @author Edward Wang
    35  * @author Edward Wang
    36  * @since 1.6
    36  * @since 1.6
    37  */
    37  */
    38 public interface CookiePolicy {
    38 public interface CookiePolicy {