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

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

?? cookiespec.java

?? 一個基于lucene&heritrix的搜索引擎
?? JAVA
字號:
/* * $Header: /cvsroot/archive-crawler/ArchiveOpenCrawler/src/java/org/apache/commons/httpclient/cookie/CookieSpec.java,v 1.1 2005/06/06 17:50:02 gojomo Exp $ * $Revision: 1.1 $ * $Date: 2005/06/06 17:50:02 $ * * ==================================================================== * *  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一区二区三区免费野_久草精品视频
欧美夫妻性生活| 日韩av网站在线观看| 精品一区二区在线看| 欧美日韩午夜在线视频| 亚洲日本在线看| 成人精品高清在线| 在线观看欧美精品| 中文字幕一区日韩精品欧美| 日本aⅴ亚洲精品中文乱码| 色先锋aa成人| 国产精品美女久久久久高潮| 日韩国产在线观看| 欧美一区二区三区在| 日韩和欧美一区二区三区| 欧美三级电影网站| 亚洲不卡一区二区三区| 欧美午夜一区二区| 亚洲小说春色综合另类电影| 欧美伊人久久大香线蕉综合69 | 亚洲国产另类av| 在线看国产一区二区| 亚洲精品老司机| 日本大香伊一区二区三区| 一区二区三区精品视频在线| 色悠悠久久综合| 亚洲成人av免费| 777a∨成人精品桃花网| 免费的成人av| 久久久久高清精品| a在线欧美一区| 一区二区三区在线视频观看 | 欧美tickling挠脚心丨vk| 精品视频在线视频| 亚洲自拍都市欧美小说| 欧美日韩精品是欧美日韩精品| 日韩av电影一区| 国产欧美中文在线| 一本大道久久精品懂色aⅴ| 偷拍亚洲欧洲综合| 欧美精品一区二区三区很污很色的 | 国产中文字幕精品| 久久久另类综合| 91首页免费视频| 香蕉乱码成人久久天堂爱免费| 精品视频在线免费观看| 亚洲成人免费av| 久久五月婷婷丁香社区| a级精品国产片在线观看| 亚洲国产日韩a在线播放性色| 精品入口麻豆88视频| 9i看片成人免费高清| 免费成人在线观看| 成人免费在线视频| 日韩一级大片在线观看| 99精品欧美一区二区三区小说 | 91美女片黄在线观看91美女| 日韩精品欧美精品| 国产精品每日更新| 日韩一区二区三区av| 91免费视频网址| 激情综合色播五月| 亚洲自拍偷拍网站| 国产视频一区不卡| 制服丝袜亚洲色图| 91美女视频网站| 国产精品亚洲综合一区在线观看| 99久久99久久综合| 蜜臀av性久久久久蜜臀aⅴ| 国产精品久久久久久久久果冻传媒 | 91视频精品在这里| 韩国成人精品a∨在线观看| 伊人开心综合网| 欧美岛国在线观看| 成人动漫一区二区三区| 亚洲大片免费看| 亚洲日本乱码在线观看| 欧美日韩国产欧美日美国产精品| 播五月开心婷婷综合| 国产在线精品视频| 青青草伊人久久| 午夜久久电影网| 一区二区三区影院| 自拍偷拍欧美精品| 国产欧美视频在线观看| 精品国产乱码久久久久久牛牛 | 精品成人一区二区三区| 在线免费观看日本一区| 91亚洲国产成人精品一区二区三| 国产不卡在线视频| 韩国av一区二区三区在线观看| 日本午夜一本久久久综合| 亚洲伊人伊色伊影伊综合网| 亚洲码国产岛国毛片在线| 国产精品免费视频一区| 中文字幕乱码日本亚洲一区二区| 久久噜噜亚洲综合| 久久精品这里都是精品| 国产丝袜美腿一区二区三区| 国产视频一区二区三区在线观看 | 国产一区二区三区免费看| 亚洲国产精品尤物yw在线观看| 一二三四区精品视频| 亚洲成av人片一区二区三区| 亚洲一区二区三区国产| 性做久久久久久免费观看欧美| 亚洲gay无套男同| 日本美女视频一区二区| 精品亚洲成av人在线观看| 精品一区二区综合| 国产伦精品一区二区三区视频青涩 | 欧美一区二区三区白人| 欧美男女性生活在线直播观看| 欧美人成免费网站| 欧美一级理论片| 精品国产伦一区二区三区免费| 9191久久久久久久久久久| 欧美三级欧美一级| 欧美精品欧美精品系列| 91精品国产色综合久久不卡蜜臀 | 一区二区三区**美女毛片| 尤物视频一区二区| 日韩主播视频在线| 国内一区二区视频| 99久久精品免费看国产| 欧美日韩一二区| 日韩欧美国产电影| 国产色一区二区| 亚洲综合一区二区三区| 五月天激情综合网| 黄页视频在线91| 91网站视频在线观看| 欧美区视频在线观看| 欧美精品日韩一区| 国产日韩高清在线| 五月综合激情网| 国产美女精品人人做人人爽| 色噜噜久久综合| 精品少妇一区二区三区在线播放| 国产精品美女久久久久久久| 日本中文一区二区三区| av电影天堂一区二区在线观看| 欧美亚洲一区二区三区四区| 欧美一二三区精品| 日本一区二区三区在线不卡| 午夜不卡在线视频| www.日本不卡| 日韩精品资源二区在线| 亚洲免费av高清| 国产精品亚洲成人| 欧美久久免费观看| 一区免费观看视频| 老司机精品视频导航| 97超碰欧美中文字幕| 日韩欧美一区电影| 亚洲综合色在线| 成人国产精品免费观看视频| 日韩欧美一级片| 亚洲一区二区三区四区五区中文| 久久成人久久鬼色| 欧美三级视频在线观看| 久久精品一区二区三区不卡| 亚洲一区二区精品视频| 成人一区二区三区中文字幕| 91精品国产色综合久久不卡蜜臀 | 久久久99久久| 男女男精品视频网| 欧美日韩在线不卡| 亚洲高清免费观看高清完整版在线观看 | 日韩视频123| 日韩国产一二三区| 日韩一区二区三区视频| 九色综合狠狠综合久久| 日韩欧美不卡在线观看视频| 美女视频黄 久久| 精品国产免费一区二区三区香蕉| 韩国欧美一区二区| 国产亚洲一区二区三区四区| 丁香六月久久综合狠狠色| 中文字幕不卡的av| 91老司机福利 在线| 亚洲综合在线免费观看| 欧美精品在线视频| 伦理电影国产精品| 国产欧美日本一区二区三区| hitomi一区二区三区精品| 夜夜精品视频一区二区 | 91视频观看免费| 亚洲综合在线免费观看| 欧美裸体一区二区三区| 久久精品久久精品| 国产欧美中文在线| 色狠狠一区二区| 奇米在线7777在线精品| 国产清纯白嫩初高生在线观看91 | 久久久午夜精品理论片中文字幕| 成人免费高清视频在线观看| 亚洲与欧洲av电影| 精品精品欲导航| 95精品视频在线| 日日夜夜免费精品|