4566N/A/*
4566N/A * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
4566N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4566N/A *
4566N/A * This code is free software; you can redistribute it and/or modify it
4566N/A * under the terms of the GNU General Public License version 2 only, as
4566N/A * published by the Free Software Foundation. Oracle designates this
4566N/A * particular file as subject to the "Classpath" exception as provided
4566N/A * by Oracle in the LICENSE file that accompanied this code.
4566N/A *
4566N/A * This code is distributed in the hope that it will be useful, but WITHOUT
4566N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4566N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4566N/A * version 2 for more details (a copy is included in the LICENSE file that
4566N/A * accompanied this code).
4566N/A *
4566N/A * You should have received a copy of the GNU General Public License version
4566N/A * 2 along with this work; if not, write to the Free Software Foundation,
4566N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4566N/A *
4566N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4566N/A * or visit www.oracle.com if you need additional information or have any
4566N/A * questions.
4566N/A */
4566N/A
4566N/Apackage sun.misc;
4566N/A
4566N/Aimport java.net.HttpCookie;
4566N/Aimport java.util.List;
4566N/A
4566N/Apublic interface JavaNetHttpCookieAccess {
4566N/A /*
4566N/A * Constructs cookies from Set-Cookie or Set-Cookie2 header string,
4566N/A * retaining the original header String in the cookie itself.
4566N/A */
4566N/A public List<HttpCookie> parse(String header);
4566N/A
4566N/A /*
4566N/A * Returns the original header this cookie was consructed from, if it was
4566N/A * constructed by parsing a header, otherwise null.
4566N/A */
4566N/A public String header(HttpCookie cookie);
4566N/A}
4566N/A