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

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

?? httpservletresponse.java

?? jsp數據庫系統
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*
 * The Apache Software License, Version 1.1
 *
 * Copyright (c) 1999 The Apache Software Foundation.  All rights 
 * reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer. 
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. The end-user documentation included with the redistribution, if
 *    any, must include the following acknowlegement:  
 *       "This product includes software developed by the 
 *        Apache Software Foundation (http://www.apache.org/)."
 *    Alternately, this acknowlegement may appear in the software itself,
 *    if and wherever such third-party acknowlegements normally appear.
 *
 * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
 *    Foundation" must not be used to endorse or promote products derived
 *    from this software without prior written permission. For written 
 *    permission, please contact apache@apache.org.
 *
 * 5. Products derived from this software may not be called "Apache"
 *    nor may "Apache" appear in their names without prior written
 *    permission of the Apache Group.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 * ====================================================================
 *
 * 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/>.
 *
 * ====================================================================
 *
 * This source code implements specifications defined by the Java
 * Community Process. In order to remain compliant with the specification
 * DO NOT add / change / or delete method signatures!
 */ 

package javax.servlet.http;

import javax.servlet.ServletResponse;
import javax.servlet.ServletException;
import java.io.IOException;

/**
 *
 * Extends the {@link ServletResponse} interface to provide HTTP-specific
 * functionality in sending a response.  For example, it has methods
 * to access HTTP headers and cookies.
 *
 * <p>The servlet container creates an <code>HttpServletRequest</code> object
 * and passes it as an argument to the servlet's service methods
 * (<code>doGet</code>, <code>doPost</code>, etc).
 *
 * 
 * @author	Various
 * @version	$Version$
 *
 * @see		javax.servlet.ServletResponse
 *
 */



public interface HttpServletResponse extends ServletResponse {

    /**
     * Adds the specified cookie to the response.  This method can be called
     * multiple times to set more than one cookie.
     *
     * @param cookie the Cookie to return to the client
     *
     */

    public void addCookie(Cookie cookie);

    /**
     * Returns a boolean indicating whether the named response header 
     * has already been set.
     * 
     * @param	name	the header name
     * @return		<code>true</code> if the named response header 
     *			has already been set; 
     * 			<code>false</code> otherwise
     */

    public boolean containsHeader(String name);

    /**
     * Encodes the specified URL by including the session ID in it,
     * or, if encoding is not needed, returns the URL unchanged.
     * The implementation of this method includes the logic to
     * determine whether the session ID needs to be encoded in the URL.
     * For example, if the browser supports cookies, or session
     * tracking is turned off, URL encoding is unnecessary.
     * 
     * <p>For robust session tracking, all URLs emitted by a servlet 
     * should be run through this
     * method.  Otherwise, URL rewriting cannot be used with browsers
     * which do not support cookies.
     *
     * @param	url	the url to be encoded.
     * @return		the encoded URL if encoding is needed;
     * 			the unchanged URL otherwise.
     */

    public String encodeURL(String url);

    /**
     * Encodes the specified URL for use in the
     * <code>sendRedirect</code> method or, if encoding is not needed,
     * returns the URL unchanged.  The implementation of this method
     * includes the logic to determine whether the session ID
     * needs to be encoded in the URL.  Because the rules for making
     * this determination can differ from those used to decide whether to
     * encode a normal link, this method is seperate from the
     * <code>encodeURL</code> method.
     * 
     * <p>All URLs sent to the <code>HttpServletResponse.sendRedirect</code>
     * method should be run through this method.  Otherwise, URL
     * rewriting cannot be used with browsers which do not support
     * cookies.
     *
     * @param	url	the url to be encoded.
     * @return		the encoded URL if encoding is needed;
     * 			the unchanged URL otherwise.
     *
     * @see #sendRedirect
     * @see #encodeUrl
     */

    public String encodeRedirectURL(String url);

    /**
     * @deprecated	As of version 2.1, use encodeURL(String url) instead
     *
     * @param	url	the url to be encoded.
     * @return		the encoded URL if encoding is needed; 
     * 			the unchanged URL otherwise.
     */

    public String encodeUrl(String url);
    
    /**
     * @deprecated	As of version 2.1, use 
     *			encodeRedirectURL(String url) instead
     *
     * @param	url	the url to be encoded.
     * @return		the encoded URL if encoding is needed; 
     * 			the unchanged URL otherwise.
     */

    public String encodeRedirectUrl(String url);

    /**
     * Sends an error response to the client using the specified status
     * code and descriptive message.  The server generally creates the 
     * response to look like a normal server error page.
     *
     * <p>If the response has already been committed, this method throws 
     * an IllegalStateException.
     * After using this method, the response should be considered
     * to be committed and should not be written to.
     *
     * @param	sc	the error status code
     * @param	msg	the descriptive message
     * @exception	IOException	If an input or output exception occurs
     * @exception	IllegalStateException	If the response was committed
     *						before this method call
     */

    public void sendError(int sc, String msg) throws IOException;

    /**
     * Sends an error response to the client using the specified
     * status.  The server generally creates the 
     * response to look like a normal server error page.
     *
     * <p>If the response has already been committed, this method throws 
     * an IllegalStateException.
     * After using this method, the response should be considered
     * to be committed and should not be written to.
     *
     * @param	sc	the error status code
     * @exception	IOException	If an input or output exception occurs
     * @exception	IllegalStateException	If the response was committed
     */

    public void sendError(int sc) throws IOException;

    /**
     * Sends a temporary redirect response to the client using the
     * specified redirect location URL.  This method can accept relative URLs;
     * the servlet container will convert the relative URL to an absolute URL
     * before sending the response to the client.
     *
     * <p>If the response has already been committed, this method throws 
     * an IllegalStateException.
     * After using this method, the response should be considered
     * to be committed and should not be written to.
     *
     * @param		location	the redirect location URL
     * @exception	IOException	If an input or output exception occurs
     * @exception	IllegalStateException	If the response was committed
     */

    public void sendRedirect(String location) throws IOException;
    
    /**
     * 
     * Sets a response header with the given name and
     * date-value.  The date is specified in terms of
     * milliseconds since the epoch.  If the header had already
     * been set, the new value overwrites the previous one.  The
     * <code>containsHeader</code> method can be used to test for the
     * presence of a header before setting its value.
     * 
     * @param	name	the name of the header to set
     * @param	value	the assigned date value
     * 
     * @see #containsHeader
     * @see #addDateHeader
     */

    public void setDateHeader(String name, long date);
    
    /**
     * 
     * Adds a response header with the given name and
     * date-value.  The date is specified in terms of
     * milliseconds since the epoch.  This method allows response headers 
     * to have multiple values.
     * 
     * @param	name	the name of the header to set
     * @param	value	the additional date value
     * 
     * @see #setDateHeader
     */

    public void addDateHeader(String name, long date);
    
    /**
     *
     * Sets a response header with the given name and value.
     * If the header had already been set, the new value overwrites the
     * previous one.  The <code>containsHeader</code> method can be
     * used to test for the presence of a header before setting its
     * value.
     * 
     * @param	name	the name of the header
     * @param	value	the header value
     *
     * @see #containsHeader
     * @see #addHeader
     */

    public void setHeader(String name, String value);
    
    /**
     * Adds a response header with the given name and value.
     * This method allows response headers to have multiple values.
     * 
     * @param	name	the name of the header
     * @param	value	the additional header value
     *
     * @see #setHeader
     */

    public void addHeader(String name, String value);

    /**
     * Sets a response header with the given name and
     * integer value.  If the header had already been set, the new value
     * overwrites the previous one.  The <code>containsHeader</code>
     * method can be used to test for the presence of a header before
     * setting its value.
     *
     * @param	name	the name of the header
     * @param	value	the assigned integer value
     *
     * @see #containsHeader
     * @see #addIntHeader
     */

    public void setIntHeader(String name, int value);

    /**
     * Adds a response header with the given name and
     * integer value.  This method allows response headers to have multiple
     * values.
     *
     * @param	name	the name of the header
     * @param	value	the assigned integer value
     *
     * @see #setIntHeader
     */

    public void addIntHeader(String name, int value);


    
    /**
     * Sets the status code for this response.  This method is used to
     * set the return status code when there is no error (for example,
     * for the status codes SC_OK or SC_MOVED_TEMPORARILY).  If there

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品精品国产色婷婷| 在线欧美一区二区| 久久久精品综合| 国产成人精品1024| 亚洲欧美综合另类在线卡通| 成人免费视频app| 国产精品三级av| 91官网在线免费观看| 亚洲国产成人精品视频| 91精品一区二区三区在线观看| 免费成人av在线播放| 日本vs亚洲vs韩国一区三区| 99久久99久久精品免费观看| 亚洲三级电影网站| 欧美精品 国产精品| 久久99热这里只有精品| 国产精品看片你懂得| 91国内精品野花午夜精品| 日韩在线a电影| 久久久久久久久久电影| 色诱亚洲精品久久久久久| 亚洲成av人片在线观看| 国产午夜亚洲精品理论片色戒 | 色诱视频网站一区| 丝袜国产日韩另类美女| 久久久久久夜精品精品免费| 91香蕉国产在线观看软件| 日本成人超碰在线观看| 日本一区二区电影| 欧美视频自拍偷拍| 成人中文字幕在线| 午夜免费欧美电影| 国产精品另类一区| 欧美电影免费观看高清完整版在线| 国产成人亚洲综合a∨猫咪| 一区二区三区产品免费精品久久75| 日韩精品一区二区三区三区免费| 99国产精品久| 国产目拍亚洲精品99久久精品| 韩国三级电影一区二区| 亚洲精品乱码久久久久| 久久精品欧美一区二区三区不卡 | 2021中文字幕一区亚洲| 色婷婷激情综合| 国产成人精品免费视频网站| 天堂影院一区二区| 亚洲欧美aⅴ...| 久久久青草青青国产亚洲免观| 欧美日韩免费观看一区三区| 成人a免费在线看| 韩国精品一区二区| 丝袜亚洲另类丝袜在线| 亚洲永久精品国产| 亚洲欧洲另类国产综合| 国产日韩欧美电影| 欧美tickling挠脚心丨vk| 欧美日韩中文字幕一区| 99久久综合色| 国产成人啪午夜精品网站男同| 日韩国产精品久久| 亚洲伊人色欲综合网| 欧美国产一区视频在线观看| 26uuu成人网一区二区三区| 宅男在线国产精品| 免费在线欧美视频| 精品剧情在线观看| 欧美本精品男人aⅴ天堂| 欧美日韩国产色站一区二区三区| www.在线成人| 99这里都是精品| av亚洲精华国产精华精华| 国产成人综合亚洲91猫咪| 精品在线观看视频| 精品一区二区久久| 国产永久精品大片wwwapp| 精品一区二区国语对白| 精品一区二区免费看| 国产一区二区不卡在线| 国产精品亚洲一区二区三区在线| 精品一区二区日韩| 国产精品主播直播| 成人午夜免费av| 成人手机电影网| 99视频一区二区三区| 色综合天天在线| 欧美日韩综合色| 日韩三级视频中文字幕| 久久久久久久久久美女| 国产清纯白嫩初高生在线观看91 | 成人综合婷婷国产精品久久 | 久久久五月婷婷| 日本一区二区综合亚洲| 中文字幕综合网| 欧美三级韩国三级日本一级| 不卡一区二区在线| 色婷婷久久综合| 欧美猛男超大videosgay| 91麻豆精品国产91久久久资源速度| 这里只有精品电影| 国产天堂亚洲国产碰碰| 亚洲欧美一区二区久久 | 日韩欧美国产电影| 国产午夜亚洲精品羞羞网站| 亚洲美女精品一区| 三级久久三级久久久| 蓝色福利精品导航| aa级大片欧美| 制服丝袜亚洲网站| 国产精品三级电影| 丝袜国产日韩另类美女| 国产成人激情av| 欧美男女性生活在线直播观看| 欧美成人艳星乳罩| 亚洲精品乱码久久久久久久久 | 欧美日韩卡一卡二| 久久综合成人精品亚洲另类欧美| 国产精品乱子久久久久| 日韩高清欧美激情| 不卡一区二区三区四区| 欧美日韩卡一卡二| 国产精品色在线| 水蜜桃久久夜色精品一区的特点 | 亚洲欧美一区二区三区极速播放| 丝袜美腿成人在线| 99在线精品一区二区三区| 欧美女孩性生活视频| 中文字幕国产一区| 奇米影视一区二区三区| 91在线码无精品| 久久久久亚洲蜜桃| 日韩电影免费在线观看网站| 国产成人av自拍| 欧美久久久久久久久| 国产精品毛片久久久久久久| 免费观看在线色综合| 色综合久久中文综合久久97| 日韩精品一区国产麻豆| 亚洲综合区在线| 成人精品在线视频观看| 日韩一区二区三区精品视频| 夜夜嗨av一区二区三区网页 | 色哟哟一区二区在线观看| 欧美一级国产精品| 一区二区欧美在线观看| 成人性生交大片免费看中文 | 青草av.久久免费一区| 色婷婷综合久色| 国产欧美日韩综合| 精品一区二区综合| 欧美色图12p| 亚洲精品视频免费看| 东方aⅴ免费观看久久av| 精品国产污污免费网站入口| 日本午夜精品视频在线观看| 在线免费观看日本一区| 亚洲女同女同女同女同女同69| 国产精品亚洲一区二区三区在线| 欧美大白屁股肥臀xxxxxx| 国产盗摄视频一区二区三区| 欧美成人一区二区三区片免费 | 精品国产精品一区二区夜夜嗨| 亚洲第一福利视频在线| 色婷婷精品大视频在线蜜桃视频| 中文字幕一区二区在线观看| 成人avav影音| 国产精品国产a级| 成人开心网精品视频| 国产精品视频在线看| 国产一区二区视频在线播放| 精品91自产拍在线观看一区| 精品亚洲成a人| 亚洲精品在线网站| 国产在线视频精品一区| 久久久99免费| 粉嫩av一区二区三区在线播放| 国产天堂亚洲国产碰碰| 成人国产免费视频| 亚洲美女偷拍久久| 精品视频色一区| 五月婷婷久久丁香| 日韩欧美区一区二| 国产成人av电影在线| 国产精品久久久久桃色tv| thepron国产精品| 一区二区三区四区亚洲| 欧美日韩一卡二卡| 精品夜夜嗨av一区二区三区| 欧美国产成人精品| 一本一本大道香蕉久在线精品 | 中文字幕中文乱码欧美一区二区| proumb性欧美在线观看| 一区二区三区四区中文字幕| 欧美丰满少妇xxxbbb| 国产专区综合网| 亚洲视频香蕉人妖| 欧美日韩电影在线播放| 黄网站免费久久| 亚洲同性同志一二三专区| 欧美日本一区二区三区四区| 激情小说亚洲一区|