src/share/classes/java/net/CookieManager.java

Print this page

        

@@ -39,11 +39,11 @@
  * which manages storage, and a {@link CookiePolicy} object, which makes
  * policy decisions on cookie acceptance/rejection.
  *
  * <p> The HTTP cookie management in java.net package looks like:
  * <blockquote>
- * <pre>
+ * <pre>{@code
  *                  use
  * CookieHandler <------- HttpURLConnection
  *       ^
  *       | impl
  *       |         use

@@ -56,11 +56,11 @@
  *             |--------> CookieStore
  *                            ^
  *                            | impl
  *                            |
  *                  Internal in-memory implementation
- * </pre>
+ * }</pre>
  * <ul>
  *   <li>
  *     CookieHandler is at the core of cookie management. User can call
  *     CookieHandler.setDefault to set a concrete CookieHanlder implementation
  *     to be used.