jdk/src/share/classes/java/net/CookieManager.java
changeset 18156 edb590d448c5
parent 14342 8435a30053c1
child 18174 806bf0d6f0c7
equal deleted inserted replaced
18155:889970e5b728 18156:edb590d448c5
    39  * which manages storage, and a {@link CookiePolicy} object, which makes
    39  * which manages storage, and a {@link CookiePolicy} object, which makes
    40  * policy decisions on cookie acceptance/rejection.
    40  * policy decisions on cookie acceptance/rejection.
    41  *
    41  *
    42  * <p> The HTTP cookie management in java.net package looks like:
    42  * <p> The HTTP cookie management in java.net package looks like:
    43  * <blockquote>
    43  * <blockquote>
    44  * <pre>
    44  * <pre>{@code
    45  *                  use
    45  *                  use
    46  * CookieHandler <------- HttpURLConnection
    46  * CookieHandler <------- HttpURLConnection
    47  *       ^
    47  *       ^
    48  *       | impl
    48  *       | impl
    49  *       |         use
    49  *       |         use
    56  *             |--------> CookieStore
    56  *             |--------> CookieStore
    57  *                            ^
    57  *                            ^
    58  *                            | impl
    58  *                            | impl
    59  *                            |
    59  *                            |
    60  *                  Internal in-memory implementation
    60  *                  Internal in-memory implementation
    61  * </pre>
    61  * }</pre>
    62  * <ul>
    62  * <ul>
    63  *   <li>
    63  *   <li>
    64  *     CookieHandler is at the core of cookie management. User can call
    64  *     CookieHandler is at the core of cookie management. User can call
    65  *     CookieHandler.setDefault to set a concrete CookieHanlder implementation
    65  *     CookieHandler.setDefault to set a concrete CookieHanlder implementation
    66  *     to be used.
    66  *     to be used.