亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cookiespec.java

?? Heritrix是一個開源,可擴展的web爬蟲項目。Heritrix設計成嚴格按照robots.txt文件的排除指示和META robots標簽。
?? JAVA
字號:
/* * $Header$ * $Revision: 3526 $ * $Date: 2005-06-06 17:50:03 +0000 (Mon, 06 Jun 2005) $ * * ==================================================================== * *  Copyright 2002-2004 The Apache Software Foundation * *  Licensed under the Apache License, Version 2.0 (the "License"); *  you may not use this file except in compliance with the License. *  You may obtain a copy of the License at * *      http://www.apache.org/licenses/LICENSE-2.0 * *  Unless required by applicable law or agreed to in writing, software *  distributed under the License is distributed on an "AS IS" BASIS, *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *  See the License for the specific language governing permissions and *  limitations under the License. * ==================================================================== * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation.  For more * information on the Apache Software Foundation, please see * <http://www.apache.org/>. * */package org.apache.commons.httpclient.cookie;import java.util.Collection;import java.util.SortedMap;import org.apache.commons.httpclient.Header;import org.apache.commons.httpclient.NameValuePair;import org.apache.commons.httpclient.Cookie;/** * Defines the cookie management specification. * <p>Cookie management specification must define * <ul> *   <li> rules of parsing "Set-Cookie" header *   <li> rules of validation of parsed cookies *   <li>  formatting of "Cookie" header  * </ul> * for a given host, port and path of origin *  * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a> * @author <a href="mailto:jsdever@apache.org">Jeff Dever</a> * * @since 2.0 */public interface CookieSpec {        /** Path delimiter */    static final String PATH_DELIM = "/";    /** Path delimiting charachter */    static final char PATH_DELIM_CHAR = PATH_DELIM.charAt(0);    /**      * Parse the <tt>"Set-Cookie"</tt> header value into Cookie array.      *      * @param host the host which sent the <tt>Set-Cookie</tt> header      * @param port the port which sent the <tt>Set-Cookie</tt> header      * @param path the path which sent the <tt>Set-Cookie</tt> header      * @param secure <tt>true</tt> when the <tt>Set-Cookie</tt> header       *  was received over secure conection      * @param header the <tt>Set-Cookie</tt> received from the server      * @return an array of <tt>Cookie</tt>s parsed from the Set-Cookie value      * @throws MalformedCookieException if an exception occurs during parsing      * @throws IllegalArgumentException if an input parameter is illegal      */    Cookie[] parse(String host, int port, String path, boolean secure,      final String header)      throws MalformedCookieException, IllegalArgumentException;    /**      * Parse the <tt>"Set-Cookie"</tt> Header into an array of Cookies.      *      * @param host the host which sent the <tt>Set-Cookie</tt> header      * @param port the port which sent the <tt>Set-Cookie</tt> header      * @param path the path which sent the <tt>Set-Cookie</tt> header      * @param secure <tt>true</tt> when the <tt>Set-Cookie</tt> header       *  was received over secure conection      * @param header the <tt>Set-Cookie</tt> received from the server      * @return an array of <tt>Cookie</tt>s parsed from the header      * @throws MalformedCookieException if an exception occurs during parsing      * @throws IllegalArgumentException if an input parameter is illegal      */    Cookie[] parse(String host, int port, String path, boolean secure,       final Header header)      throws MalformedCookieException, IllegalArgumentException;    /**      * Parse the cookie attribute and update the corresponsing Cookie       *  properties.      *      * @param attribute cookie attribute from the <tt>Set-Cookie</tt>      * @param cookie the to be updated      * @throws MalformedCookieException if an exception occurs during parsing      * @throws IllegalArgumentException if an input parameter is illegal      */    void parseAttribute(NameValuePair attribute, Cookie cookie)      throws MalformedCookieException, IllegalArgumentException;    /**      * Validate the cookie according to validation rules defined by the       *  cookie specification.      *      * @param host the host from which the {@link Cookie} was received      * @param port the port from which the {@link Cookie} was received      * @param path the path from which the {@link Cookie} was received      * @param secure <tt>true</tt> when the {@link Cookie} was received       *  using a secure connection      * @param cookie the Cookie to validate      * @throws MalformedCookieException if the cookie is invalid      * @throws IllegalArgumentException if an input parameter is illegal      */    void validate(String host, int port, String path, boolean secure,       final Cookie cookie)       throws MalformedCookieException, IllegalArgumentException;            /**     * Sets the {@link Collection} of date patterns used for parsing. The String patterns must be      * compatible with {@link java.text.SimpleDateFormat}.     *     * @param datepatterns collection of date patterns     */    void setValidDateFormats(Collection datepatterns);        /**     * Returns the {@link Collection} of date patterns used for parsing. The String patterns are compatible      * with the {@link java.text.SimpleDateFormat}.     *     * @return collection of date patterns     */    Collection getValidDateFormats();        /**     * Determines if a Cookie matches a location.     *     * @param host the host to which the request is being submitted     * @param port the port to which the request is being submitted     * @param path the path to which the request is being submitted     * @param secure <tt>true</tt> if the request is using a secure connection     * @param cookie the Cookie to be matched     *     * @return <tt>true</tt> if the cookie should be submitted with a request      *  with given attributes, <tt>false</tt> otherwise.     */    boolean match(String host, int port, String path, boolean secure,        final Cookie cookie);    /**     * Determines which of an array of Cookies matches a location.     *     * @param host the host to which the request is being submitted     * @param port the port to which the request is being submitted      *  (currenlty ignored)     * @param path the path to which the request is being submitted     * @param secure <tt>true</tt> if the request is using a secure protocol     * @param cookies an array of <tt>Cookie</tt>s to be matched     *     * @return <tt>true</tt> if the cookie should be submitted with a request      *  with given attributes, <tt>false</tt> otherwise.     *  // BEGIN IA CHANGES     * @deprecated use match(String, int, String, boolean, SortedMap)// END IA CHANGES     */    Cookie[] match(String host, int port, String path, boolean secure,         final Cookie cookies[]);// BEGIN IA CHANGES    /**     * Determines which of an array of Cookies matches a location.     *     * If the SortedMap comes from an HttpState and is not itself     * thread-safe, it may be necessary to synchronize on the HttpState     * instance to protect against concurrent modification.      *     * @param host the host to which the request is being submitted     * @param port the port to which the request is being submitted      *  (currenlty ignored)     * @param path the path to which the request is being submitted     * @param secure <tt>true</tt> if the request is using a secure protocol     * @param cookies SortedMap of <tt>Cookie</tt>s to be matched     *     * @return <tt>true</tt> if the cookie should be submitted with a request      *  with given attributes, <tt>false</tt> otherwise.     */    Cookie[] match(String domain, int port, String path, boolean secure, SortedMap cookiesMap);// END IA CHANGES    /**     * Performs domain-match as defined by the cookie specification.     * @param host The target host.     * @param domain The cookie domain attribute.     * @return true if the specified host matches the given domain.     *      * @since 3.0     */    boolean domainMatch(String host, String domain);    /**     * Performs path-match as defined by the cookie specification.     * @param path The target path.     * @param topmostPath The cookie path attribute.     * @return true if the paths match     *      * @since 3.0     */    boolean pathMatch(String path, String topmostPath);    /**     * Create a <tt>"Cookie"</tt> header value for an array of cookies.     *     * @param cookie the cookie to be formatted as string     * @return a string suitable for sending in a <tt>"Cookie"</tt> header.     */    String formatCookie(Cookie cookie);    /**     * Create a <tt>"Cookie"</tt> header value for an array of cookies.     *     * @param cookies the Cookies to be formatted     * @return a string suitable for sending in a Cookie header.     * @throws IllegalArgumentException if an input parameter is illegal     */    String formatCookies(Cookie[] cookies) throws IllegalArgumentException;        /**     * Create a <tt>"Cookie"</tt> Header for an array of Cookies.     *     * @param cookies the Cookies format into a Cookie header     * @return a Header for the given Cookies.     * @throws IllegalArgumentException if an input parameter is illegal     */    Header formatCookieHeader(Cookie[] cookies) throws IllegalArgumentException;    /**     * Create a <tt>"Cookie"</tt> Header for single Cookie.     *     * @param cookie the Cookie format as a <tt>Cookie</tt> header     * @return a Cookie header.     * @throws IllegalArgumentException if an input parameter is illegal     */    Header formatCookieHeader(Cookie cookie) throws IllegalArgumentException;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区 在线观看视频| 欧美久久久久久久久久| 色综合天天综合在线视频| 欧美三级电影网站| 精品国产三级a在线观看| 国产精品私人自拍| 亚洲成av人在线观看| 久久国产尿小便嘘嘘尿| 93久久精品日日躁夜夜躁欧美| 欧美乱熟臀69xxxxxx| 国产午夜精品在线观看| 依依成人综合视频| 麻豆成人久久精品二区三区红 | 欧美日韩高清在线播放| 久久网这里都是精品| 亚洲精品亚洲人成人网在线播放| 美女久久久精品| 97se亚洲国产综合自在线观| 91麻豆精品国产91久久久久| 国产精品女主播av| 日产国产高清一区二区三区| 成人爽a毛片一区二区免费| 69堂国产成人免费视频| 中文字幕一区二区三区精华液| 日韩精品成人一区二区三区| 不卡视频一二三四| 日韩欧美国产一区在线观看| 亚洲欧洲综合另类在线| 国内精品不卡在线| 717成人午夜免费福利电影| 亚洲欧美日韩系列| 国产精品77777竹菊影视小说| 欧美视频完全免费看| 中文字幕欧美区| 免费观看在线综合色| 日本久久精品电影| 国产三级精品视频| 美女网站色91| 欧美久久免费观看| 亚洲综合另类小说| 成a人片亚洲日本久久| 精品区一区二区| 日韩成人av影视| 欧美日韩国产一级| 亚洲精选一二三| 91在线你懂得| 国产精品毛片久久久久久| 韩国成人精品a∨在线观看| 欧美一区二区三区在| 亚洲国产精品久久久男人的天堂 | 亚洲欧美怡红院| 国产很黄免费观看久久| 日韩欧美国产综合| 蜜臀av一区二区| 正在播放一区二区| 天堂一区二区在线| 在线亚洲欧美专区二区| 亚洲欧美国产毛片在线| 99热这里都是精品| 国产精品不卡在线| www.99精品| 国产精品国产精品国产专区不蜜 | 国产精品视频免费| 国产一区二区三区在线观看精品 | 国产高清不卡二三区| 欧美不卡一二三| 看国产成人h片视频| 8v天堂国产在线一区二区| 亚洲成人资源在线| 欧美日韩高清一区二区不卡| 亚洲在线视频网站| 欧美日韩综合不卡| 天堂久久久久va久久久久| 欧美精品一二三| 日韩电影免费在线看| 欧美一级高清大全免费观看| 男男成人高潮片免费网站| 日韩亚洲欧美高清| 极品少妇一区二区| 精品第一国产综合精品aⅴ| 国产一区二区三区四区五区美女 | 不卡欧美aaaaa| 亚洲婷婷国产精品电影人久久| 99视频在线精品| 一区二区三区中文免费| 欧美三级韩国三级日本三斤| 天天爽夜夜爽夜夜爽精品视频| 欧美高清视频在线高清观看mv色露露十八| 香蕉成人伊视频在线观看| 91精品国产综合久久久蜜臀图片 | 精品91自产拍在线观看一区| 国产乱子伦视频一区二区三区| 久久免费看少妇高潮| 成人黄色a**站在线观看| 成人免费视频在线观看| 欧美四级电影网| 毛片不卡一区二区| 欧美激情一区在线| 在线免费观看日本欧美| 日韩vs国产vs欧美| 国产欧美日韩久久| 色天使色偷偷av一区二区| 日韩中文字幕亚洲一区二区va在线| 欧美一区二区三区播放老司机| 国产在线播精品第三| 国产精品理论片| 欧美日韩色综合| 国模少妇一区二区三区| 国产精品白丝在线| 日韩一区二区三区视频| www.色精品| 丝袜美腿一区二区三区| 欧美精品一区二区三区很污很色的| 成人视屏免费看| 日韩精品国产欧美| 国产精品黄色在线观看| 欧美性受xxxx| 国产一区二区三区免费播放| 亚洲免费观看视频| 精品少妇一区二区三区日产乱码 | 一区二区三区加勒比av| 日韩女优毛片在线| 92精品国产成人观看免费| 免费欧美日韩国产三级电影| 中文字幕制服丝袜成人av| 91精品啪在线观看国产60岁| 国产69精品久久久久777| 性感美女久久精品| 国产精品久久久久久久久久久免费看 | 日韩午夜在线观看| 99视频精品全部免费在线| 六月丁香婷婷色狠狠久久| 亚洲女人****多毛耸耸8| 欧美成va人片在线观看| 欧美在线|欧美| 国产成人av一区二区三区在线 | 欧美精品久久99| 成人免费福利片| 蜜桃一区二区三区在线| 一区二区三区久久| 中文字幕不卡三区| 精品国产1区二区| 91精品久久久久久久久99蜜臂| 99久久婷婷国产综合精品电影| 捆绑调教一区二区三区| 亚洲高清久久久| 亚洲欧美日本韩国| 国产欧美一区二区精品忘忧草| 欧美一区二区三级| 欧美日韩在线播放| 一本到不卡免费一区二区| 国产91精品一区二区麻豆网站| 日本欧美加勒比视频| 亚洲精品高清视频在线观看| 日本一区二区三级电影在线观看 | 国产综合成人久久大片91| 亚洲18影院在线观看| 18成人在线视频| 国产免费成人在线视频| www欧美成人18+| 91精品久久久久久蜜臀| 欧美人牲a欧美精品| 91搞黄在线观看| 91欧美一区二区| 成人av免费在线观看| 国产精品中文字幕一区二区三区| 免费av成人在线| 日韩精品91亚洲二区在线观看| 亚洲观看高清完整版在线观看 | 欧美精品色综合| 欧美日韩精品三区| 欧美日韩一区三区| 色婷婷精品大视频在线蜜桃视频| 97精品久久久午夜一区二区三区| 成人毛片老司机大片| 不卡av电影在线播放| 成人久久18免费网站麻豆| 岛国一区二区三区| 波多野结衣亚洲| 99久久久精品免费观看国产蜜| 91在线观看视频| 91老司机福利 在线| 91视频免费播放| 色呦呦国产精品| 欧美午夜精品久久久久久孕妇| 在线亚洲一区二区| 欧美影视一区在线| 9191成人精品久久| 欧美成人a∨高清免费观看| 久久综合色一综合色88| 精品1区2区在线观看| 国产拍欧美日韩视频二区| 国产欧美一区二区精品久导航 | 欧洲国产伦久久久久久久| 日本伦理一区二区| 欧美精品1区2区3区| 91麻豆精品国产91久久久久久久久 | 亚洲欧美一区二区三区极速播放| 日韩美女视频一区| 亚洲综合久久av|