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

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

?? httpmethod.java

?? Light in the box 抓取程序。 使用HttpClient
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/HttpMethod.java,v 1.43 2004/10/07 16:14:15 olegk Exp $ * $Revision: 480424 $ * $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $ * * ==================================================================== * *  Licensed to the Apache Software Foundation (ASF) under one or more *  contributor license agreements.  See the NOTICE file distributed with *  this work for additional information regarding copyright ownership. *  The ASF licenses this file to You 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;import java.io.IOException;import java.io.InputStream;import org.apache.commons.httpclient.auth.AuthState;import org.apache.commons.httpclient.params.HttpMethodParams;/** * <p> * HttpMethod interface represents a request to be sent via a  * {@link HttpConnection HTTP connection} and a corresponding response. * </p> * @author <a href="mailto:remm@apache.org">Remy Maucherat</a> * @author Rod Waldhoff * @author <a href="jsdever@apache.org">Jeff Dever</a> * @author <a href="mailto:mbowler@GargoyleSoftware.com">Mike Bowler</a> * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a> * * @version $Revision: 480424 $ $Date: 2006-11-29 06:56:49 +0100 (Wed, 29 Nov 2006) $ *  * @since 1.0 */public interface HttpMethod {    // ------------------------------------------- Property Setters and Getters    /**     * Obtains the name of the HTTP method as used in the HTTP request line,     * for example <tt>"GET"</tt> or <tt>"POST"</tt>.     *      * @return the name of this method     */    String getName();    /**     * Gets the host configuration for this method.  The configuration specifies     * the server, port, protocol, and proxy server via which this method will     * send its HTTP request.     *      * @deprecated no longer applicable      *      * @return the HostConfiguration or <code>null</code> if none is set     */    HostConfiguration getHostConfiguration();    /**     * Sets the path of the HTTP method.     * It is responsibility of the caller to ensure that the path is     * properly encoded (URL safe).     *      * @param path The path of the HTTP method. The path is expected     *             to be URL encoded.     */    void setPath(String path);    /**     * Returns the path of the HTTP method.       *     * Calling this method <em>after</em> the request has been executed will      * return the <em>actual</em> path, following any redirects automatically     * handled by this HTTP method.     *      * @return the path of the HTTP method, in URL encoded form     */    String getPath();    /**     * Returns the URI for this method. The URI will be absolute if the host     * configuration has been set and relative otherwise.     *      * @return the URI for this method     *      * @throws URIException if a URI cannot be constructed     */    URI getURI() throws URIException;    /**     * Sets the URI for this method.      *      * @param uri URI to be set      *      * @throws URIException if a URI cannot be set     *      * @since 3.0     */    void setURI(URI uri) throws URIException;    /**     * Defines how strictly the method follows the HTTP protocol specification.       * (See RFC 2616 and other relevant RFCs.) In the strict mode the method precisely     * implements the requirements of the specification, whereas in non-strict mode      * it attempts to mimic the exact behaviour of commonly used HTTP agents,      * which many HTTP servers expect.     *      * @param strictMode <tt>true</tt> for strict mode, <tt>false</tt> otherwise     *      * @deprecated Use {@link org.apache.commons.httpclient.params.HttpParams#setParameter(String, Object)}      * to exercise a more granular control over HTTP protocol strictness.     *      * @see #isStrictMode()     */    void setStrictMode(boolean strictMode);    /**     * Returns the value of the strict mode flag.     *     * @return <tt>true</tt> if strict mode is enabled, <tt>false</tt> otherwise     *      * @deprecated Use {@link org.apache.commons.httpclient.params.HttpParams#setParameter(String, Object)}      * to exercise a more granular control over HTTP protocol strictness.     *      * @see #setStrictMode(boolean)     */    boolean isStrictMode();         /**     * Sets the specified request header, overwriting any     * previous value.     * Note that header-name matching is case insensitive.     * @param headerName the header's name     * @param headerValue the header's value     *     * @see #setRequestHeader(Header)     * @see #getRequestHeader(String)     * @see #removeRequestHeader(String)     */    void setRequestHeader(String headerName, String headerValue);    /**     * Sets the specified request header, overwriting any     * previous value.     * Note that header-name matching is case insensitive.     * @param header the header to be set     *     * @see #setRequestHeader(String,String)     * @see #getRequestHeader(String)     * @see #removeRequestHeader(String)     */    void setRequestHeader(Header header);    /**     * Adds the specified request header, <em>not</em> overwriting any previous value.     * If the same header is added multiple times, perhaps with different values,     * multiple instances of that header will be sent in the HTTP request.     * Note that header-name matching is case insensitive.     * @param headerName the header's name     * @param headerValue the header's value     *      * @see #addRequestHeader(Header)     * @see #getRequestHeader(String)     * @see #removeRequestHeader(String)     */    void addRequestHeader(String headerName, String headerValue);    /**     * Adds the specified request header, <em>not</em> overwriting any previous value.     * If the same header is added multiple times, perhaps with different values,     * multiple instances of that header will be sent in the HTTP request.     * Note that header-name matching is case insensitive.     * @param header the header     *      * @see #addRequestHeader(String,String)     * @see #getRequestHeader(String)     * @see #removeRequestHeader(String)     */    void addRequestHeader(Header header);    /**     * Gets the request header with the given name.     * If there are multiple headers with the same name,     * there values will be combined with the ',' separator as specified by RFC2616.     * Note that header-name matching is case insensitive.     * @param headerName the header name     * @return the header     */    Header getRequestHeader(String headerName);    /**     * Removes all request headers with the given name.     * Note that header-name matching is case insensitive.     * @param headerName the header name     */    void removeRequestHeader(String headerName);    /**     * Removes the given request header.     *      * @param header the header     *      * @since 3.0     */    void removeRequestHeader(Header header);    /**     * Returns <tt>true</tt> if the HTTP method should automatically follow HTTP redirects      * (status code 302, etc.), <tt>false</tt> otherwise.     *      * @return <tt>true</tt> if the method will automatically follow HTTP redirects,      * <tt>false</tt> otherwise     */    boolean getFollowRedirects();    /**     * Sets whether or not the HTTP method should automatically follow HTTP redirects      * (status code 302, etc.)     *      * @param followRedirects <tt>true</tt> if the method will automatically follow redirects,     * <tt>false</tt> otherwise.     */    void setFollowRedirects(boolean followRedirects);    /**     * Sets the query string of the HTTP method.     * It is responsibility of the caller to ensure that the path is     * properly encoded (URL safe).  The string must not include an initial '?' character.     *      * @param queryString the query to be used in the request, with no leading '?' character     *      * @see #getQueryString()     * @see #setQueryString(NameValuePair[])     */    void setQueryString(String queryString);    /**     * Sets the query string of this HTTP method.  The pairs are encoded as UTF-8 characters.       * To use a different charset the parameters can be encoded manually using EncodingUtil      * and set as a single String.     *     * @param params An array of <code>NameValuePair</code>s to use as the query string.     *               The name/value pairs will be automatically URL encoded and should not     *               have been encoded previously.     *      * @see #getQueryString()     * @see #setQueryString(String)     * @see org.apache.commons.httpclient.util.EncodingUtil#formUrlEncode(NameValuePair[], String)     */    void setQueryString(NameValuePair[] params);    /**     * Returns the query string of this HTTP method.     *      * @return the query string in URL encoded form, without a leading '?'.     *      * @see #setQueryString(NameValuePair[])      * @see #setQueryString(String)     */    String getQueryString();    /**     * Returns the current request headers for this HTTP method.  The returned headers     * will be in the same order that they were added with <code>addRequestHeader</code>.     * If there are multiple request headers with the same name (e.g. <code>Cookie</code>),     * they will be returned as multiple entries in the array.     *      * @return an array containing all of the request headers     *      * @see #addRequestHeader(Header)     * @see #addRequestHeader(String,String)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久丁香综合五月国产三级网站| 夜夜嗨av一区二区三区网页| 欧美色图免费看| 91在线播放网址| 99久久99久久综合| 床上的激情91.| 不卡欧美aaaaa| 成人激情午夜影院| 成人av片在线观看| 91浏览器入口在线观看| av亚洲精华国产精华精华| 91网页版在线| 欧美在线啊v一区| 91精品国产综合久久久久久| 日韩精品自拍偷拍| 欧美videofree性高清杂交| 欧美一区二区视频观看视频| 亚洲精品一区二区三区福利| 久久九九久久九九| 国产精品情趣视频| 一区二区三国产精华液| 天天免费综合色| 韩国女主播一区| proumb性欧美在线观看| 在线看日本不卡| 日韩欧美成人激情| 国产精品免费久久| 亚洲超丰满肉感bbw| 久久疯狂做爰流白浆xx| gogo大胆日本视频一区| 在线播放国产精品二区一二区四区| 日韩免费高清电影| 中文字幕 久热精品 视频在线| 亚洲综合偷拍欧美一区色| 麻豆91小视频| 色哟哟亚洲精品| 精品三级av在线| 亚洲精品国产一区二区三区四区在线| 亚洲午夜日本在线观看| 国产又粗又猛又爽又黄91精品| 99久久久精品| 精品国产一区a| 亚洲综合在线视频| 国产一区二区伦理片| 91美女片黄在线| 久久日韩精品一区二区五区| 亚洲精品久久久蜜桃| 韩国三级在线一区| 欧美乱熟臀69xxxxxx| 国产精品欧美一区喷水| 麻豆国产精品777777在线| 色综合色综合色综合色综合色综合| 日韩欧美国产小视频| 一区二区三区久久久| 国产成人精品网址| 欧美电视剧免费全集观看| 亚洲一区二区高清| 成人av在线电影| 久久在线免费观看| 日日欢夜夜爽一区| 在线欧美日韩国产| 国产精品麻豆欧美日韩ww| 另类欧美日韩国产在线| 欧美性高清videossexo| 亚洲欧洲精品一区二区三区不卡 | 国产一本一道久久香蕉| 欧美丝袜丝交足nylons图片| 亚洲色图视频网| av电影一区二区| 国产精品乱人伦中文| 国产精品一级在线| 欧美v日韩v国产v| 蜜桃精品视频在线| 日韩一级成人av| 日本女人一区二区三区| 欧美日韩精品免费观看视频 | 欧美精品一二三区| 亚洲黄色小视频| 91久久精品国产91性色tv| 日韩一区在线看| 色婷婷精品大视频在线蜜桃视频| 国产精品久久久99| 成人午夜激情影院| 国产精品久久影院| 91在线精品一区二区三区| 国产精品免费久久| 91偷拍与自偷拍精品| 亚洲视频电影在线| 99视频精品全部免费在线| 亚洲激情在线激情| 欧美日韩在线免费视频| 天天综合日日夜夜精品| 日韩欧美你懂的| 久草热8精品视频在线观看| 欧美岛国在线观看| 国产成人免费9x9x人网站视频| 国产欧美久久久精品影院| 成人综合婷婷国产精品久久 | 另类的小说在线视频另类成人小视频在线| 91麻豆精品国产91久久久| 美美哒免费高清在线观看视频一区二区| 91精品国产乱码久久蜜臀| 蜜臀av一区二区在线观看| 日本一区二区三区四区在线视频| 成人黄色在线看| 亚洲国产精品久久久久婷婷884| 欧美电影一区二区| 国产高清在线观看免费不卡| 亚洲精品免费播放| 欧美成人午夜电影| 99久久99久久久精品齐齐 | 欧美一区二区三区系列电影| 国产成人在线免费观看| 亚洲欧美一区二区三区国产精品 | 精品综合久久久久久8888| 国产精品天天摸av网| 欧美日韩国产一二三| 国产一区二区在线视频| 亚洲欧美二区三区| 欧美一区二区高清| 色综合色综合色综合| 老司机午夜精品99久久| 亚洲黄色性网站| 久久精品一区二区| 欧美精品123区| 99国产欧美另类久久久精品| 日韩av在线免费观看不卡| 国产女人18水真多18精品一级做 | 久久久久国产一区二区三区四区| 91麻豆成人久久精品二区三区| 韩国毛片一区二区三区| 亚州成人在线电影| 亚洲欧美区自拍先锋| 国产视频一区二区在线| 91 com成人网| 欧美色综合天天久久综合精品| 国产精品主播直播| 老司机一区二区| 日日摸夜夜添夜夜添精品视频 | 欧美日韩你懂得| 91麻豆国产精品久久| 成人午夜视频免费看| 激情综合色丁香一区二区| 亚洲成人综合网站| 伊人婷婷欧美激情| 亚洲国产精品激情在线观看| 精品久久久久久亚洲综合网 | 色综合久久综合中文综合网| 国产福利精品导航| 精品一区二区三区在线播放视频 | 26uuu成人网一区二区三区| 日韩一级片网址| 3d动漫精品啪啪1区2区免费| 欧美精品日韩一区| 在线看不卡av| 欧美日韩电影一区| 欧美日韩1234| 91精品久久久久久蜜臀| 欧美丰满少妇xxxbbb| 在线播放中文一区| 欧美精品在线一区二区三区| 制服视频三区第一页精品| 欧美一区二区三区视频在线 | 水野朝阳av一区二区三区| 亚洲国产另类精品专区| 亚洲网友自拍偷拍| 日韩精品国产欧美| 日韩高清在线不卡| 麻豆91在线播放| 国产成人免费视频一区| 成人a免费在线看| 色婷婷av一区| 欧美福利视频导航| 精品黑人一区二区三区久久| 久久久久免费观看| 亚洲欧洲在线观看av| 一区二区三区日韩精品视频| 亚洲观看高清完整版在线观看 | 成人深夜在线观看| 91视频观看视频| 91精品国产综合久久久久久| 久久日一线二线三线suv| 国产精品久久久久久久久久免费看 | 日韩亚洲欧美中文三级| 久久亚洲精精品中文字幕早川悠里| 国产亚洲欧美一级| 日韩伦理免费电影| 日韩av午夜在线观看| 国产传媒日韩欧美成人| 91影院在线观看| 日韩一区二区三区在线| 欧美激情一区三区| 日韩激情一区二区| 成人激情校园春色| 日韩一区二区在线看| 亚洲日本中文字幕区| 美女视频网站黄色亚洲| eeuss鲁片一区二区三区在线观看| 3751色影院一区二区三区| 欧美激情一区二区三区全黄|