INNER CODE UNIT · Java

iterator

proninyaroslav/libretorrent · app/src/main/java/org/nanohttpd/NanoHTTPD.java:259

        public Iterator<String> iterator() {
            return this.cookies.keySet().iterator();
        }
        /**
         * Read a cookie from the HTTP Headers.
         *
         * @param name
         *            The cookie's name.
         * @return The cookie's value if it exists, null otherwise.
         */
        public String read(String name) {
            return this.cookies.get(name);
        }
        public void set(Cookie cookie) {
            this.queue.add(cookie);
        }
        /**
         * Sets a cookie.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…