Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 java.base.jmod - Base Module
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module.
JDK 17 Base module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.base.jmod.
JDK 17 Base module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Base module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.base.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ java/net/CookieStore.java
/* * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package java.net; import java.util.List; import java.util.Map; /** * A CookieStore object represents a storage for cookie. Can store and retrieve * cookies. * * <p>{@link CookieManager} will call {@code CookieStore.add} to save cookies * for every incoming HTTP response, and call {@code CookieStore.get} to * retrieve cookie for every outgoing HTTP request. A CookieStore * is responsible for removing HttpCookie instances which have expired. * * @author Edward Wang * @since 1.6 */ public interface CookieStore { /** * Adds one HTTP cookie to the store. This is called for every * incoming HTTP response. * * <p>A cookie to store may or may not be associated with an URI. If it * is not associated with an URI, the cookie's domain and path attribute * will indicate where it comes from. If it is associated with an URI and * its domain and path attribute are not specified, given URI will indicate * where this cookie comes from. * * <p>If a cookie corresponding to the given URI already exists, * then it is replaced with the new one. * * @param uri the uri this cookie associated with. * if {@code null}, this cookie will not be associated * with an URI * @param cookie the cookie to store * * @throws NullPointerException if {@code cookie} is {@code null} * * @see #get * */ public void add(URI uri, HttpCookie cookie); /** * Retrieve cookies associated with given URI, or whose domain matches the * given URI. Only cookies that have not expired are returned. * This is called for every outgoing HTTP request. * * @return an immutable list of HttpCookie, * return empty list if no cookies match the given URI * * @param uri the uri associated with the cookies to be returned * * @throws NullPointerException if {@code uri} is {@code null} * * @see #add * */ public List<HttpCookie> get(URI uri); /** * Get all not-expired cookies in cookie store. * * @return an immutable list of http cookies; * return empty list if there's no http cookie in store */ public List<HttpCookie> getCookies(); /** * Get all URIs which identify the cookies in this cookie store. * * @return an immutable list of URIs; * return empty list if no cookie in this cookie store * is associated with an URI */ public List<URI> getURIs(); /** * Remove a cookie from store. * * @param uri the uri this cookie associated with. * if {@code null}, the cookie to be removed is not associated * with an URI when added; if not {@code null}, the cookie * to be removed is associated with the given URI when added. * @param cookie the cookie to remove * * @return {@code true} if this store contained the specified cookie * * @throws NullPointerException if {@code cookie} is {@code null} */ public boolean remove(URI uri, HttpCookie cookie); /** * Remove all cookies in this cookie store. * * @return {@code true} if this store changed as a result of the call */ public boolean removeAll(); }
⏎ java/net/CookieStore.java
Or download all of them as a single archive file:
File name: java.base-17.0.5-src.zip File size: 8883851 bytes Release date: 2022-09-13 Download
2023-09-26, 44603👍, 1💬
Popular Posts:
JDK 11 java.compiler.jmod is the JMOD file for JDK 11 Compiler module. JDK 11 Compiler module compil...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...
What Is poi-3.5.jar - Part 2? poi-3.5.jar is one of the JAR files for Apache POI 3.5, which provides...
What Is javamail1_1_3.zip? javamail1_1_3.zip is the binary package of JavaMail API 1.1.3 in ZIP form...
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...