亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
成人动漫在线一区| 在线视频你懂得一区| 亚洲成年人网站在线观看| 韩国成人在线视频| 国产+成+人+亚洲欧洲自线| 在线视频亚洲一区| 91精品中文字幕一区二区三区| 久久精品视频在线免费观看| 中文无字幕一区二区三区| 五月天网站亚洲| 在线观看免费视频综合| 国产精品福利电影一区二区三区四区| 午夜精品在线视频一区| 成av人片一区二区| 久久女同精品一区二区| 奇米色一区二区三区四区| 91伊人久久大香线蕉| 久久久三级国产网站| 日韩不卡一区二区| 欧美在线综合视频| 国产精品福利一区二区三区| 成人永久免费视频| 国产精品久久久久影视| 国产一区二区三区久久悠悠色av| 日韩精品一区二区在线| 免费美女久久99| 欧美一区二区视频在线观看2022| 亚洲第一电影网| 日韩视频在线一区二区| 国产资源在线一区| 成人欧美一区二区三区黑人麻豆| 白白色亚洲国产精品| 亚洲美腿欧美偷拍| 欧美日韩一级大片网址| 五月天婷婷综合| 日韩欧美中文一区| 久久国产生活片100| 欧美一区二区三区婷婷月色| 国产成a人亚洲精| 一区二区三区不卡视频| 欧美日韩在线免费视频| 五月婷婷欧美视频| 日韩三级高清在线| 欧美中文字幕一区二区三区| 成人精品小蝌蚪| 国产原创一区二区| 日韩在线一区二区| 亚洲女厕所小便bbb| 国产精品伦一区二区三级视频| 欧美va在线播放| 欧美亚洲国产bt| 97久久精品人人做人人爽50路| 国内精品第一页| 日本不卡的三区四区五区| 亚洲最大成人综合| 亚洲欧洲制服丝袜| 欧美videofree性高清杂交| 欧美精品粉嫩高潮一区二区| 欧美视频日韩视频| 欧美三级视频在线| 欧美揉bbbbb揉bbbbb| 91麻豆精品国产91| 欧美一级xxx| 26uuu色噜噜精品一区二区| 欧美一二三区在线| 亚洲国产精品ⅴa在线观看| 国产欧美视频在线观看| 自拍av一区二区三区| 亚洲综合色视频| 亚洲一区二区三区精品在线| 亚洲一区在线视频| 另类人妖一区二区av| 久久av资源网| 91在线视频播放地址| 337p亚洲精品色噜噜噜| 国产精品久久99| 老司机精品视频导航| 91女人视频在线观看| 欧美不卡一区二区三区| 亚洲综合丁香婷婷六月香| 国产福利91精品一区| 日韩一区二区在线播放| 亚洲精品少妇30p| 波多野结衣中文字幕一区二区三区| 欧美日韩国产小视频在线观看| 欧美国产精品一区二区三区| 免费成人在线网站| 日韩一卡二卡三卡| 爽好多水快深点欧美视频| 91久久精品日日躁夜夜躁欧美| 国产视频亚洲色图| 寂寞少妇一区二区三区| 精品国产免费久久 | 欧美三级中文字| 中文字幕一区二区三区乱码在线| 国产成人综合网| 中文字幕一区二区三区在线播放 | 在线电影欧美成精品| 亚洲综合免费观看高清完整版在线| 成人av网在线| 亚洲一区二区三区四区中文字幕| 丁香桃色午夜亚洲一区二区三区| 久久久久9999亚洲精品| 不卡视频一二三| 亚洲一区成人在线| 日韩区在线观看| 国产91精品入口| 一区二区三区丝袜| 欧美一区二区三区四区高清| 久久99日本精品| 亚洲丝袜精品丝袜在线| 欧美亚洲一区二区在线观看| 美美哒免费高清在线观看视频一区二区| 亚洲欧美另类小说| 欧美精品在欧美一区二区少妇| 日本女优在线视频一区二区| 中文字幕高清一区| 欧美日韩在线观看一区二区 | 成人美女视频在线观看| 玉足女爽爽91| 久久色.com| 国产91精品一区二区麻豆亚洲| 亚洲精品综合在线| 欧美一区二区黄色| 欧美性色黄大片| 国产福利不卡视频| 日韩精品电影在线| 亚洲精品少妇30p| 国产视频一区二区在线| 欧美大片一区二区三区| 色呦呦一区二区三区| 丁香婷婷综合色啪| 国产一区不卡在线| 理论电影国产精品| 开心九九激情九九欧美日韩精美视频电影| 国产精品短视频| 国产精品久久久久久久久快鸭 | 欧美精品日韩一本| 欧美性一二三区| 欧洲精品视频在线观看| 91国偷自产一区二区开放时间| 国产一区二区剧情av在线| 久久精品国产网站| 首页亚洲欧美制服丝腿| 午夜精品久久久久久久久| 午夜视频久久久久久| 偷窥少妇高潮呻吟av久久免费| 亚洲综合在线电影| 亚洲一区二区三区美女| 亚洲欧美日韩国产另类专区 | 亚洲精品视频免费看| 一级日本不卡的影视| 午夜成人免费视频| 精东粉嫩av免费一区二区三区| 国产精品资源站在线| 91天堂素人约啪| 欧美另类高清zo欧美| 久久蜜桃一区二区| 国产精品每日更新| 亚洲gay无套男同| 国产精品资源在线观看| 9久草视频在线视频精品| 欧洲激情一区二区| 精品欧美久久久| 亚洲综合一区在线| 精品一区二区三区免费毛片爱| proumb性欧美在线观看| 91麻豆精品国产综合久久久久久| 精品成人私密视频| 亚洲精品久久久蜜桃| 激情综合五月婷婷| 欧美日韩国产色站一区二区三区| 欧美精品一区二区蜜臀亚洲| 五月婷婷久久丁香| 日韩欧美在线观看一区二区三区| 中文字幕精品综合| 国产在线观看免费一区| 欧美精品久久99久久在免费线| 欧美激情综合网| 韩国女主播一区| 91精品国产一区二区三区| 亚洲精品乱码久久久久久黑人| 国内外精品视频| 精品国产乱码久久久久久蜜臀| 亚洲大片在线观看| 91亚洲国产成人精品一区二区三| 久久综合国产精品| 九一久久久久久| 精品88久久久久88久久久| 麻豆极品一区二区三区| 精品国一区二区三区| 国产在线日韩欧美| 久久久久久9999| 岛国一区二区在线观看| 国产精品久久久久四虎| 色婷婷久久99综合精品jk白丝| 国产精品―色哟哟| 一本大道av伊人久久综合| 亚洲激情成人在线| 91精品国产综合久久国产大片|