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

Print this page

        

*** 39,49 **** * 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> * use * CookieHandler <------- HttpURLConnection * ^ * | impl * | use --- 39,49 ---- * 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>{@code * use * CookieHandler <------- HttpURLConnection * ^ * | impl * | use
*** 56,66 **** * |--------> CookieStore * ^ * | impl * | * Internal in-memory implementation ! * </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. --- 56,66 ---- * |--------> CookieStore * ^ * | impl * | * Internal in-memory implementation ! * }</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.