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

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

?? httpstate.java

?? 一個基于lucene&heritrix的搜索引擎
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
     * @deprecated Use      * {@link org.apache.commons.httpclient.params.HttpClientParams#setAuthenticationPreemptive(boolean)},      * {@link HttpClient#getParams()}.     */        public void setAuthenticationPreemptive(boolean value) {        this.preemptive = value;    }    /**     * Returns <tt>true</tt> if preemptive authentication should be      * attempted, <tt>false</tt> otherwise.     *      * @return boolean flag.     *      * @deprecated Use      * {@link org.apache.commons.httpclient.params.HttpClientParams#isAuthenticationPreemptive()},      * {@link HttpClient#getParams()}.     */        public boolean isAuthenticationPreemptive() {        return this.preemptive;    }        /**     * Sets the current {@link CookiePolicy cookie policy} for this HTTP     * state to one of the following supported policies:      * {@link CookiePolicy#COMPATIBILITY},      * {@link CookiePolicy#NETSCAPE_DRAFT} or     * {@link CookiePolicy#RFC2109}.     *      * @param policy new {@link CookiePolicy cookie policy}     *      * @deprecated      *  Use {@link org.apache.commons.httpclient.params.HttpMethodParams#setCookiePolicy(String)},     *  {@link HttpMethod#getParams()}.          */        public void setCookiePolicy(int policy) {        this.cookiePolicy = policy;    }    /**      * Sets the {@link Credentials credentials} for the given authentication      * realm on the given host. The <code>null</code> realm signifies default      * credentials for the given host, which should be used when no      * {@link Credentials credentials} have been explictly supplied for the      * challenging realm. The <code>null</code> host signifies default      * credentials, which should be used when no {@link Credentials credentials}      * have been explictly supplied for the challenging host. Any previous      * credentials for the given realm on the given host will be overwritten.     *      * @param realm the authentication realm     * @param host the host the realm belongs to     * @param credentials the authentication {@link Credentials credentials}      * for the given realm.     *      * @see #getCredentials(String, String)     * @see #setProxyCredentials(String, String, Credentials)      *      * @deprecated use #setCredentials(AuthScope, Credentials)     */        public synchronized void setCredentials(String realm, String host, Credentials credentials) {        LOG.trace("enter HttpState.setCredentials(String, String, Credentials)");        credMap.put(new AuthScope(host, AuthScope.ANY_PORT, realm, AuthScope.ANY_SCHEME), credentials);    }    /**      * Sets the {@link Credentials credentials} for the given authentication      * scope. Any previous credentials for the given scope will be overwritten.     *      * @param authscope the {@link AuthScope authentication scope}     * @param credentials the authentication {@link Credentials credentials}      * for the given scope.     *      * @see #getCredentials(AuthScope)     * @see #setProxyCredentials(AuthScope, Credentials)      *      * @since 3.0     */    public synchronized void setCredentials(final AuthScope authscope, final Credentials credentials) {        if (authscope == null) {            throw new IllegalArgumentException("Authentication scope may not be null");        }        LOG.trace("enter HttpState.setCredentials(AuthScope, Credentials)");        credMap.put(authscope, credentials);    }    /**     * Find matching {@link Credentials credentials} for the given authentication scope.     *     * @param map the credentials hash map     * @param token the {@link AuthScope authentication scope}     * @return the credentials      *      */    private static Credentials matchCredentials(final HashMap map, final AuthScope authscope) {        // see if we get a direct hit        Credentials creds = (Credentials)map.get(authscope);        if (creds == null) {            // Nope.            // Do a full scan            int bestMatchFactor  = -1;            AuthScope bestMatch  = null;            Iterator items = map.keySet().iterator();            while (items.hasNext()) {                AuthScope current = (AuthScope)items.next();                int factor = authscope.match(current);                if (factor > bestMatchFactor) {                    bestMatchFactor = factor;                    bestMatch = current;                }            }            if (bestMatch != null) {                creds = (Credentials)map.get(bestMatch);            }        }        return creds;    }        /**     * Get the {@link Credentials credentials} for the given authentication scope on the      * given host.     *     * If the <i>realm</i> exists on <i>host</i>, return the coresponding credentials.     * If the <i>host</i> exists with a <tt>null</tt> <i>realm</i>, return the corresponding     * credentials.     * If the <i>realm</i> exists with a <tt>null</tt> <i>host</i>, return the     * corresponding credentials.  If the <i>realm</i> does not exist, return     * the default Credentials.  If there are no default credentials, return     * <code>null</code>.     *     * @param realm the authentication realm     * @param host the host the realm is on     * @return the credentials      *      * @see #setCredentials(String, String, Credentials)     *      * @deprecated use #getCredentials(AuthScope)     */        public synchronized Credentials getCredentials(String realm, String host) {        LOG.trace("enter HttpState.getCredentials(String, String");        return matchCredentials(this.credMap,             new AuthScope(host, AuthScope.ANY_PORT, realm, AuthScope.ANY_SCHEME));    }    /**     * Get the {@link Credentials credentials} for the given authentication scope.     *     * @param authscope the {@link AuthScope authentication scope}     * @return the credentials      *      * @see #setCredentials(AuthScope, Credentials)     *      * @since 3.0     */    public synchronized Credentials getCredentials(final AuthScope authscope) {        if (authscope == null) {            throw new IllegalArgumentException("Authentication scope may not be null");        }        LOG.trace("enter HttpState.getCredentials(AuthScope)");        return matchCredentials(this.credMap, authscope);    }    /**     * Sets the {@link Credentials credentials} for the given proxy authentication      * realm on the given proxy host. The <code>null</code> proxy realm signifies      * default credentials for the given proxy host, which should be used when no      * {@link Credentials credentials} have been explictly supplied for the      * challenging proxy realm. The <code>null</code> proxy host signifies default      * credentials, which should be used when no {@link Credentials credentials}      * have been explictly supplied for the challenging proxy host. Any previous      * credentials for the given proxy realm on the given proxy host will be      * overwritten.     *     * @param realm the authentication realm     * @param proxyHost the proxy host     * @param credentials the authentication credentials for the given realm     *      * @see #getProxyCredentials(AuthScope)     * @see #setCredentials(AuthScope, Credentials)     *      * @deprecated use #setProxyCredentials(AuthScope, Credentials)     */    public synchronized void setProxyCredentials(        String realm,         String proxyHost,         Credentials credentials    ) {        LOG.trace("enter HttpState.setProxyCredentials(String, String, Credentials");        proxyCred.put(new AuthScope(proxyHost, AuthScope.ANY_PORT, realm, AuthScope.ANY_SCHEME), credentials);    }    /**      * Sets the {@link Credentials proxy credentials} for the given authentication      * realm. Any previous credentials for the given realm will be overwritten.     *      * @param authscope the {@link AuthScope authentication scope}     * @param credentials the authentication {@link Credentials credentials}      * for the given realm.     *      * @see #getProxyCredentials(AuthScope)     * @see #setCredentials(AuthScope, Credentials)      *      * @since 3.0     */    public synchronized void setProxyCredentials(final AuthScope authscope,         final Credentials credentials)    {        if (authscope == null) {            throw new IllegalArgumentException("Authentication scope may not be null");        }        LOG.trace("enter HttpState.setProxyCredentials(AuthScope, Credentials)");        proxyCred.put(authscope, credentials);    }    /**     * Get the {@link Credentials credentials} for the proxy host with the given      * authentication scope.     *     * If the <i>realm</i> exists on <i>host</i>, return the coresponding credentials.     * If the <i>host</i> exists with a <tt>null</tt> <i>realm</i>, return the corresponding     * credentials.     * If the <i>realm</i> exists with a <tt>null</tt> <i>host</i>, return the     * corresponding credentials.  If the <i>realm</i> does not exist, return     * the default Credentials.  If there are no default credentials, return     * <code>null</code>.     *      * @param realm the authentication realm     * @param proxyHost the proxy host the realm is on     * @return the credentials      * @see #setProxyCredentials(String, String, Credentials)     *      * @deprecated use #getProxyCredentials(AuthScope)     */    public synchronized Credentials getProxyCredentials(String realm, String proxyHost) {       LOG.trace("enter HttpState.getCredentials(String, String");        return matchCredentials(this.proxyCred,             new AuthScope(proxyHost, AuthScope.ANY_PORT, realm, AuthScope.ANY_SCHEME));    }        /**     * Get the {@link Credentials proxy credentials} for the given authentication scope.     *     * @param authscope the {@link AuthScope authentication scope}     * @return the credentials      *      * @see #setProxyCredentials(AuthScope, Credentials)     *      * @since 3.0     */    public synchronized Credentials getProxyCredentials(final AuthScope authscope) {        if (authscope == null) {            throw new IllegalArgumentException("Authentication scope may not be null");        }        LOG.trace("enter HttpState.getProxyCredentials(AuthScope)");        return matchCredentials(this.proxyCred, authscope);    }    /**     * Returns a string representation of this HTTP state.     *      * @return The string representation of the HTTP state.     *      * @see java.lang.Object#toString()     */    public synchronized String toString() {        StringBuffer sbResult = new StringBuffer();        sbResult.append("[");        sbResult.append(getCredentialsStringRepresentation(proxyCred));        sbResult.append(" | ");        sbResult.append(getCredentialsStringRepresentation(credMap));        sbResult.append(" | ");        sbResult.append(getCookiesStringRepresentation(cookiesMap.values()));        sbResult.append("]");        String strResult = sbResult.toString();        return strResult;    }        /**     * Returns a string representation of the credentials.     * @param credMap The credentials.     * @return The string representation.     */    private static String getCredentialsStringRepresentation(final Map credMap) {        StringBuffer sbResult = new StringBuffer();        Iterator iter = credMap.keySet().iterator();        while (iter.hasNext()) {            Object key = iter.next();            Credentials cred = (Credentials) credMap.get(key);            if (sbResult.length() > 0) {                sbResult.append(", ");            }            sbResult.append(key);            sbResult.append("#");            sbResult.append(cred.toString());        }        return sbResult.toString();    }        /**     * Returns a string representation of the cookies.     * @param cookies The cookies     * @return The string representation.     */    private static String getCookiesStringRepresentation(final Collection cookies) {        StringBuffer sbResult = new StringBuffer();        Iterator iter = cookies.iterator();        while (iter.hasNext()) {            Cookie ck = (Cookie) iter.next();            if (sbResult.length() > 0) {                sbResult.append("#");            }            sbResult.append(ck.toExternalForm());        }        return sbResult.toString();    }        /**     * Clears all credentials.     */    public void clearCredentials() {        this.credMap.clear();    }        /**     * Clears all proxy credentials.     */    public void clearProxyCredentials() {        this.proxyCred.clear();    }        /**     * Clears all cookies.     */    public void clearCookies() {// BEGIN IA CHANGES//        this.cookiesArrayList.clear();        this.cookiesMap.clear();// END IA CHANGES    }        /**     * Clears the state information (all cookies, credentials and proxy credentials).     */    public void clear() {        clearCookies();        clearCredentials();        clearProxyCredentials();    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美色综合网站| 国产成人自拍在线| 国产原创一区二区| 国产激情91久久精品导航| 99re热视频精品| 欧美视频第二页| 精品国偷自产国产一区| 国产欧美日韩久久| 亚洲制服丝袜av| 欧美日韩日本视频| 欧美成人艳星乳罩| 中文字幕一区二区三区视频| 亚洲成a人在线观看| 国产一区二区三区免费| 色综合久久综合网97色综合 | 久久精品一区二区三区四区| 国产精品久久久久久久久免费相片| 夜夜嗨av一区二区三区四季av| 日本在线不卡视频| 成人avav影音| 欧美一区二区在线免费观看| 国产精品福利影院| 蜜桃视频在线观看一区二区| 成人免费av资源| 91精品国产综合久久福利软件| 国产精品色在线观看| 日韩va亚洲va欧美va久久| 国产成都精品91一区二区三| 欧美顶级少妇做爰| 日韩一区欧美一区| 黑人精品欧美一区二区蜜桃 | 亚洲欧美另类综合偷拍| 美女国产一区二区| 91麻豆精品在线观看| 26uuu国产电影一区二区| 亚洲一区二区三区四区在线| 成人小视频在线| 日韩欧美久久久| 亚洲一区二区在线免费看| 成人午夜免费电影| 欧美精品一区二区三区在线 | 不卡一区中文字幕| 欧美一区二区成人6969| 夜夜嗨av一区二区三区| 成人h动漫精品一区二区| 亚洲精品在线电影| 日本在线不卡视频| 91福利在线看| 日韩美女啊v在线免费观看| 国产综合色产在线精品| 欧美一级生活片| 亚洲大片一区二区三区| 97精品久久久久中文字幕| 久久久国产精品不卡| 免费日本视频一区| 欧美挠脚心视频网站| 亚洲乱码国产乱码精品精小说| 国产精品中文字幕一区二区三区| 91精品国产黑色紧身裤美女| 亚洲国产精品久久久久秋霞影院| 99久久精品免费看| 国产精品全国免费观看高清 | 国产精品888| 欧美一区日本一区韩国一区| 亚洲成人777| 日本亚洲最大的色成网站www| 精品久久国产老人久久综合| 久久亚洲精品小早川怜子| 日韩精品亚洲专区| 7777精品伊人久久久大香线蕉超级流畅 | 国产亚洲制服色| 狠狠色丁香婷婷综合久久片| 日韩精品专区在线| 日本午夜精品一区二区三区电影| 欧美日韩亚洲综合一区二区三区| 一区二区三区四区国产精品| 一本色道久久综合亚洲精品按摩| 日韩一区在线播放| 日本精品裸体写真集在线观看| 一区二区三区中文免费| 色婷婷激情一区二区三区| 亚洲天堂av老司机| 色婷婷av一区二区三区大白胸 | 色丁香久综合在线久综合在线观看| 国产精品久久久久久久久免费桃花| jlzzjlzz亚洲女人18| 国产精品超碰97尤物18| 色伊人久久综合中文字幕| 怡红院av一区二区三区| 欧美视频一二三区| 日本不卡123| 欧美精品一区二区三区蜜臀| 国产91在线看| 亚洲欧美精品午睡沙发| 在线中文字幕不卡| 日日噜噜夜夜狠狠视频欧美人 | 免费在线观看一区二区三区| 日韩欧美一区在线观看| 欧美bbbbb| 久久久久九九视频| proumb性欧美在线观看| 亚洲一区二区中文在线| 日韩欧美国产电影| 丰满少妇久久久久久久| 亚洲日本乱码在线观看| 欧美日韩国产综合草草| 精品一区二区在线免费观看| 国产精品久久久久影院| 在线观看国产91| 狂野欧美性猛交blacked| 国产欧美精品国产国产专区| 一本色道综合亚洲| 久久不见久久见免费视频1| 国产精品久久久久影院色老大| 欧美无砖专区一中文字| 久久福利视频一区二区| 国产精品久线在线观看| 欧美美女bb生活片| 国产精品夜夜爽| 亚洲精品中文字幕乱码三区| 欧美一卡二卡三卡| 成人永久免费视频| 午夜视频在线观看一区| 久久精品亚洲乱码伦伦中文| 91极品视觉盛宴| 精品在线亚洲视频| 亚洲精品免费看| 日韩欧美123| 色哟哟一区二区在线观看| 精品在线播放免费| 一二三区精品视频| 久久久久亚洲蜜桃| 欧美另类z0zxhd电影| 成人毛片老司机大片| 美女在线一区二区| 亚洲精品免费视频| 国产天堂亚洲国产碰碰| 在线不卡一区二区| 成人福利在线看| 久久精品国产一区二区三| 亚洲另类一区二区| 国产日韩精品久久久| 欧美色窝79yyyycom| 成人教育av在线| 久久国产精品免费| 亚洲电影第三页| 综合久久久久综合| 久久久久久电影| 日韩视频永久免费| 欧美视频在线观看一区| www.亚洲人| 麻豆国产一区二区| 亚洲成人免费视| 成人欧美一区二区三区| 久久日韩精品一区二区五区| 777久久久精品| 欧美视频精品在线观看| 91啪在线观看| 成人免费毛片高清视频| 激情综合五月婷婷| 人禽交欧美网站| 亚洲永久免费av| 亚洲精品乱码久久久久久久久| 久久女同精品一区二区| 欧美一区二区大片| 51精品视频一区二区三区| 欧美三级资源在线| 91久久香蕉国产日韩欧美9色| 成人av网站在线观看免费| 国产成人超碰人人澡人人澡| 激情文学综合网| 美女视频黄久久| 美女视频第一区二区三区免费观看网站| 亚洲va欧美va天堂v国产综合| 日韩伦理av电影| 亚洲欧洲av在线| 国产精品狼人久久影院观看方式| 欧美激情综合五月色丁香小说| 久久综合99re88久久爱| 精品国产乱码91久久久久久网站| 日韩一区二区三区观看| 欧美一区二区三区四区五区| 91精品综合久久久久久| 欧美日韩国产电影| 91麻豆精品91久久久久久清纯 | 蜜桃视频在线一区| 蜜桃视频第一区免费观看| 欧美a级一区二区| 蜜臀av性久久久久蜜臀av麻豆| 免费欧美高清视频| 蓝色福利精品导航| 国产精品影视网| 成人av片在线观看| 色综合色综合色综合| 91极品视觉盛宴| 欧美日韩一区二区三区在线| 欧美理论片在线| xnxx国产精品| 日本一二三四高清不卡| 综合在线观看色|