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

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

?? httpconnectionparams.java

?? Light in the box 抓取程序。 使用HttpClient
?? JAVA
字號:
/* * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//httpclient/src/java/org/apache/commons/httpclient/params/HttpConnectionParams.java,v 1.6 2004/09/15 20:32:21 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.params;/** * This class represents a collection of HTTP protocol parameters applicable to  * {@link org.apache.commons.httpclient.HttpConnection HTTP connections}.  * Protocol parameters may be linked together to form a hierarchy. If a particular  * parameter value has not been explicitly defined in the collection itself, its  * value will be drawn from the parent collection of parameters. *  * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a> *  * @version $Revision: 480424 $ *  * @since 3.0 */public class HttpConnectionParams extends DefaultHttpParams {    /**     * Defines the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the      * timeout for waiting for data. A timeout value of zero is interpreted as an infinite      * timeout. This value is used when no socket timeout is set in the      * {@link HttpMethodParams HTTP method parameters}.      * <p>     * This parameter expects a value of type {@link Integer}.     * </p>     * @see java.net.SocketOptions#SO_TIMEOUT     */    public static final String SO_TIMEOUT = "http.socket.timeout";     /**     * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm      * tries to conserve bandwidth by minimizing the number of segments that are      * sent. When applications wish to decrease network latency and increase      * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY).      * Data will be sent earlier, at the cost of an increase in bandwidth consumption.      * <p>     * This parameter expects a value of type {@link Boolean}.     * </p>     * @see java.net.SocketOptions#TCP_NODELAY     */    public static final String TCP_NODELAY = "http.tcp.nodelay";     /**     * Determines a hint the size of the underlying buffers used by the platform      * for outgoing network I/O. This value is a suggestion to the kernel from      * the application about the size of buffers to use for the data to be sent      * over the socket.     * <p>     * This parameter expects a value of type {@link Integer}.     * </p>     * @see java.net.SocketOptions#SO_SNDBUF     */    public static final String SO_SNDBUF = "http.socket.sendbuffer";     /**     * Determines a hint the size of the underlying buffers used by the platform      * for incoming network I/O. This value is a suggestion to the kernel from      * the application about the size of buffers to use for the data to be received      * over the socket.       * <p>     * This parameter expects a value of type {@link Integer}.     * </p>     * @see java.net.SocketOptions#SO_RCVBUF     */    public static final String SO_RCVBUF = "http.socket.receivebuffer";     /**     * Sets SO_LINGER with the specified linger time in seconds. The maximum timeout      * value is platform specific. Value <tt>0</tt> implies that the option is disabled.     * Value <tt>-1</tt> implies that the JRE default is used. The setting only affects      * socket close.       * <p>     * This parameter expects a value of type {@link Integer}.     * </p>     * @see java.net.SocketOptions#SO_LINGER     */    public static final String SO_LINGER = "http.socket.linger";     /**     * Determines the timeout until a connection is etablished. A value of zero      * means the timeout is not used. The default value is zero.     * <p>     * This parameter expects a value of type {@link Integer}.     * </p>     */    public static final String CONNECTION_TIMEOUT = "http.connection.timeout";     /**     * Determines whether stale connection check is to be used. Disabling      * stale connection check may result in slight performance improvement      * at the risk of getting an I/O error when executing a request over a     * connection that has been closed at the server side.      * <p>     * This parameter expects a value of type {@link Boolean}.     * </p>     */    public static final String STALE_CONNECTION_CHECK = "http.connection.stalecheck";     /**     * Creates a new collection of parameters with the collection returned     * by {@link #getDefaultParams()} as a parent. The collection will defer     * to its parent for a default value if a particular parameter is not      * explicitly set in the collection itself.     *      * @see #getDefaultParams()     */    public HttpConnectionParams() {        super();    }    /**     * Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the      * timeout for waiting for data. A timeout value of zero is interpreted as an infinite      * timeout. This value is used when no socket timeout is set in the      * {@link HttpMethodParams HTTP method parameters}.      *     * @return timeout in milliseconds     */    public int getSoTimeout() {        return getIntParameter(SO_TIMEOUT, 0);    }    /**     * Sets the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the      * timeout for waiting for data. A timeout value of zero is interpreted as an infinite      * timeout. This value is used when no socket timeout is set in the      * {@link HttpMethodParams HTTP method parameters}.      *     * @param timeout Timeout in milliseconds     */    public void setSoTimeout(int timeout) {        setIntParameter(SO_TIMEOUT, timeout);    }    /**     * Determines whether Nagle's algorithm is to be used. The Nagle's algorithm      * tries to conserve bandwidth by minimizing the number of segments that are      * sent. When applications wish to decrease network latency and increase      * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY).      * Data will be sent earlier, at the cost of an increase in bandwidth consumption.      *     * @param value <tt>true</tt> if the Nagle's algorithm is to NOT be used     *   (that is enable TCP_NODELAY), <tt>false</tt> otherwise.     */    public void setTcpNoDelay(boolean value) {        setBooleanParameter(TCP_NODELAY, value);    }    /**     * Tests if Nagle's algorithm is to be used.       *     * @return <tt>true</tt> if the Nagle's algorithm is to NOT be used     *   (that is enable TCP_NODELAY), <tt>false</tt> otherwise.     */    public boolean getTcpNoDelay() {        return getBooleanParameter(TCP_NODELAY, true);    }    /**     * Returns a hint the size of the underlying buffers used by the platform for      * outgoing network I/O. This value is a suggestion to the kernel from the      * application about the size of buffers to use for the data to be sent over      * the socket.     *     * @return the hint size of the send buffer     */    public int getSendBufferSize() {        return getIntParameter(SO_SNDBUF, -1);    }    /**     * Sets a hint the size of the underlying buffers used by the platform for      * outgoing network I/O. This value is a suggestion to the kernel from the      * application about the size of buffers to use for the data to be sent over      * the socket.     *     * @param size the hint size of the send buffer     */    public void setSendBufferSize(int size) {        setIntParameter(SO_SNDBUF, size);    }    /**     * Returns a hint the size of the underlying buffers used by the platform      * for incoming network I/O. This value is a suggestion to the kernel from      * the application about the size of buffers to use for the data to be received      * over the socket.       *     * @return the hint size of the send buffer     */    public int getReceiveBufferSize() {        return getIntParameter(SO_RCVBUF, -1);    }    /**     * Sets a hint the size of the underlying buffers used by the platform      * for incoming network I/O. This value is a suggestion to the kernel from      * the application about the size of buffers to use for the data to be received      * over the socket.       *     * @param size the hint size of the send buffer     */    public void setReceiveBufferSize(int size) {        setIntParameter(SO_RCVBUF, size);    }    /**     * Returns linger-on-close timeout. Value <tt>0</tt> implies that the option is      * disabled. Value <tt>-1</tt> implies that the JRE default is used.     *      * @return the linger-on-close timeout     */    public int getLinger() {        return getIntParameter(SO_LINGER, -1);    }    /**     * Returns linger-on-close timeout. This option disables/enables immediate return      * from a close() of a TCP Socket. Enabling this option with a non-zero Integer      * timeout means that a close() will block pending the transmission and      * acknowledgement of all data written to the peer, at which point the socket is      * closed gracefully. Value <tt>0</tt> implies that the option is      * disabled. Value <tt>-1</tt> implies that the JRE default is used.     *     * @param value the linger-on-close timeout     */    public void setLinger(int value) {        setIntParameter(SO_LINGER, value);    }    /**     * Returns the timeout until a connection is etablished. A value of zero      * means the timeout is not used. The default value is zero.     *      * @return timeout in milliseconds.     */    public int getConnectionTimeout() {        return getIntParameter(CONNECTION_TIMEOUT, 0);    }    /**     * Sets the timeout until a connection is etablished. A value of zero      * means the timeout is not used. The default value is zero.     *      * @param timeout Timeout in milliseconds.     */    public void setConnectionTimeout(int timeout) {        setIntParameter(CONNECTION_TIMEOUT, timeout);    }        /**     * Tests whether stale connection check is to be used. Disabling      * stale connection check may result in slight performance improvement      * at the risk of getting an I/O error when executing a request over a     * connection that has been closed at the server side.      *      * @return <tt>true</tt> if stale connection check is to be used,      *   <tt>false</tt> otherwise.     */    public boolean isStaleCheckingEnabled() {        return getBooleanParameter(STALE_CONNECTION_CHECK, true);    }    /**     * Defines whether stale connection check is to be used. Disabling      * stale connection check may result in slight performance improvement      * at the risk of getting an I/O error when executing a request over a     * connection that has been closed at the server side.      *      * @param value <tt>true</tt> if stale connection check is to be used,      *   <tt>false</tt> otherwise.     */    public void setStaleCheckingEnabled(boolean value) {        setBooleanParameter(STALE_CONNECTION_CHECK, value);    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
51精品秘密在线观看| 国产精品不卡在线| 国产精品久久影院| 奇米影视一区二区三区小说| 国产电影一区二区三区| 精品视频1区2区3区| 国产日韩欧美精品电影三级在线 | 亚洲一区二区在线播放相泽| 国产在线视频一区二区| 欧美综合天天夜夜久久| 国产清纯美女被跳蛋高潮一区二区久久w | 欧美一级日韩免费不卡| 亚洲精品免费在线| jiyouzz国产精品久久| 欧美成人福利视频| 午夜婷婷国产麻豆精品| 色综合久久中文字幕| 中文字幕一区在线观看| 国产精品资源网站| 欧美精品一区二区三区蜜桃视频| 日韩av一区二区三区四区| 欧美在线视频全部完| 亚洲欧洲综合另类在线| 成人av电影在线| 欧美国产成人精品| 亚洲精品菠萝久久久久久久| 99国产欧美另类久久久精品| 久久久久久久网| 国产剧情av麻豆香蕉精品| 日韩欧美二区三区| 激情六月婷婷久久| 精品国精品国产| 美女网站色91| 精品国产髙清在线看国产毛片| 美国欧美日韩国产在线播放| 欧美刺激午夜性久久久久久久| 男女性色大片免费观看一区二区 | 国产伦理精品不卡| 2023国产精品自拍| 国产成人精品网址| 国产欧美1区2区3区| 成人看片黄a免费看在线| 亚洲国产精品99久久久久久久久| 懂色av中文字幕一区二区三区| 国产日韩欧美麻豆| 一本大道av伊人久久综合| 夜夜爽夜夜爽精品视频| 欧美三级视频在线观看| 奇米777欧美一区二区| 精品日韩一区二区三区免费视频| 国产成人在线免费| 亚洲精品欧美激情| 欧美一区二区播放| 国产精品一级片| 亚洲精选免费视频| 欧美精品v国产精品v日韩精品| 久国产精品韩国三级视频| 久久久久久**毛片大全| 91视频免费看| 日韩成人免费电影| 国产精品视频麻豆| 欧美日韩一区视频| 精品在线播放免费| 亚洲欧美激情在线| 制服丝袜一区二区三区| 国产精品亚洲一区二区三区在线| 中文字幕一区不卡| 日韩一级高清毛片| 99国产精品国产精品毛片| 视频一区二区欧美| 国产蜜臀av在线一区二区三区| 在线看国产一区| 国产一区二区在线观看视频| 亚洲美女偷拍久久| 久久综合九色综合欧美就去吻| 一本色道**综合亚洲精品蜜桃冫 | 日韩午夜精品视频| 北岛玲一区二区三区四区| 天堂一区二区在线| 综合久久综合久久| 久久久久久毛片| 91精品婷婷国产综合久久竹菊| 不卡欧美aaaaa| 久久99精品久久久| 午夜一区二区三区视频| 亚洲品质自拍视频网站| 久久久美女毛片| 91精品国产综合久久久蜜臀粉嫩| 波多野结衣精品在线| 久久99精品国产91久久来源| 亚洲福利一二三区| 亚洲精品亚洲人成人网 | 久久综合一区二区| 9191成人精品久久| 色诱视频网站一区| 粉嫩久久99精品久久久久久夜| 免费欧美日韩国产三级电影| 亚洲永久精品大片| 国产精品理论在线观看| 久久蜜桃av一区精品变态类天堂| 欧美老女人在线| 欧美中文字幕一区二区三区| 成人午夜视频网站| 国产成人精品aa毛片| 国产一区二区三区美女| 国产在线不卡一区| 久久99精品国产麻豆婷婷| 麻豆精品一二三| 免费人成黄页网站在线一区二区| 日韩经典中文字幕一区| 午夜电影久久久| 免费在线看成人av| 人人超碰91尤物精品国产| 青青草国产精品亚洲专区无| 日韩综合在线视频| 欧美a级理论片| 精品一区二区三区视频| 国产一区二区在线电影| 国产成人av电影在线观看| 成人高清视频在线观看| 91网站最新地址| 在线视频一区二区三| 欧美三片在线视频观看| 91精品国产全国免费观看| 日韩一区二区视频| 久久久美女毛片| 日韩理论片网站| 亚洲无线码一区二区三区| 日本欧洲一区二区| 国产精品一区二区无线| 豆国产96在线|亚洲| 91丨porny丨首页| 欧美日韩国产经典色站一区二区三区| 欧美高清hd18日本| 久久综合色婷婷| 中文字幕亚洲一区二区va在线| 亚洲综合丝袜美腿| 久久精品国产**网站演员| 国产a视频精品免费观看| 91国偷自产一区二区三区观看| 欧美日韩一级二级| 精品国产露脸精彩对白| 亚洲欧美日韩人成在线播放| 日韩国产在线观看一区| 国产精品综合网| 欧美日韩精品电影| 久久综合色播五月| 亚洲美女屁股眼交| 麻豆国产一区二区| 97精品久久久午夜一区二区三区| 5858s免费视频成人| 欧美国产综合色视频| 午夜视频一区在线观看| 懂色av一区二区三区蜜臀| 91福利视频在线| 国产午夜精品一区二区三区四区| 亚洲欧美日韩国产手机在线| 美国三级日本三级久久99| 91亚洲精品久久久蜜桃网站| 欧美变态口味重另类| 悠悠色在线精品| 国产经典欧美精品| 91精品国产色综合久久不卡电影| 国产精品不卡一区| 久久99精品国产麻豆不卡| 欧美在线高清视频| 国产精品你懂的在线| 裸体歌舞表演一区二区| 欧美在线三级电影| 国产精品久久久久四虎| 国模娜娜一区二区三区| 欧美日韩一区二区三区免费看| 中文字幕成人在线观看| 美女视频一区在线观看| 欧美专区日韩专区| 亚洲视频狠狠干| 国产成人av资源| 久久综合中文字幕| 日韩avvvv在线播放| 色乱码一区二区三区88| 国产精品视频yy9299一区| 久久99九九99精品| 欧美精选在线播放| 一区二区欧美国产| 99久久免费精品高清特色大片| 久久综合999| 久久se精品一区精品二区| 欧美一区二区在线观看| 亚洲二区在线视频| 欧美在线三级电影| 一区二区三区在线观看网站| 99精品偷自拍| 亚洲女同ⅹxx女同tv| 91在线观看成人| 亚洲免费色视频| 91视频在线观看免费| 亚洲裸体xxx| 91女厕偷拍女厕偷拍高清| 国产精品私房写真福利视频| 成人av午夜影院|