亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
日一区二区三区| 99久久精品国产网站| 国产精品99久久不卡二区| 成人动漫中文字幕| 欧美成人猛片aaaaaaa| 国产精品久久久99| 久久精品国产亚洲a| 欧美在线观看禁18| 国产精品高潮呻吟| 国产成人综合自拍| 精品福利视频一区二区三区| 同产精品九九九| 日本韩国欧美国产| 国产精品国产馆在线真实露脸| 国产在线视频一区二区三区| 欧美伦理视频网站| 无码av免费一区二区三区试看| 色www精品视频在线观看| 国产精品国产三级国产aⅴ入口| 国产在线视频一区二区三区| 精品国产91乱码一区二区三区| 五月天婷婷综合| 欧美高清激情brazzers| 天堂影院一区二区| 欧美日韩精品一区二区三区蜜桃| 亚洲精品v日韩精品| 色综合久久综合网欧美综合网| 国产精品剧情在线亚洲| 成人一道本在线| 中文字幕亚洲欧美在线不卡| 成人性色生活片| 国产精品美女一区二区在线观看| 国产精品99久| 亚洲色图视频免费播放| 色综合中文字幕| 一级精品视频在线观看宜春院 | 久久精品国产澳门| 日韩无一区二区| 国产一区在线不卡| 中文无字幕一区二区三区| 东方欧美亚洲色图在线| 1区2区3区国产精品| 日本精品视频一区二区三区| 亚洲国产一区视频| 欧美va日韩va| 成人久久久精品乱码一区二区三区| 国产午夜亚洲精品不卡| av中文字幕在线不卡| 国产精品久久免费看| 成人激情av网| 丝袜诱惑制服诱惑色一区在线观看| 91麻豆精品久久久久蜜臀| 日日夜夜精品视频免费 | 国产电影一区二区三区| 久久久久久毛片| 91免费版pro下载短视频| 一区二区成人在线| 精品国产凹凸成av人网站| 成人午夜在线播放| 性感美女极品91精品| 欧美tickling网站挠脚心| 成人一区二区三区视频| 亚洲成人你懂的| 久久免费电影网| 99re免费视频精品全部| 日本视频免费一区| av一二三不卡影片| 91精品国产福利| 国产乱妇无码大片在线观看| 亚洲欧洲另类国产综合| 欧美一区二区三区爱爱| 成人永久免费视频| 另类小说综合欧美亚洲| 亚洲老妇xxxxxx| 久久久美女毛片| 欧美私人免费视频| 成人一道本在线| 另类调教123区| 一个色妞综合视频在线观看| 国产校园另类小说区| 欧美久久久久中文字幕| av成人免费在线| 国产精品一级片| 日本91福利区| 亚洲一区二区偷拍精品| 中文字幕第一页久久| 日韩欧美精品三级| 精品视频在线免费| 99久久免费精品| 高清av一区二区| 国产一区不卡视频| 免费在线成人网| 天堂在线亚洲视频| 亚洲福利国产精品| 亚洲精品日日夜夜| 成人免费一区二区三区视频| 中文字幕精品一区| 欧美极品少妇xxxxⅹ高跟鞋 | 亚洲一二三区视频在线观看| 日本一区二区视频在线| 久久亚洲综合色| 欧美成人欧美edvon| 欧美成人aa大片| 日韩欧美一卡二卡| 欧美美女bb生活片| 91精品国产综合久久蜜臀| 欧美日本视频在线| 欧美日韩国产另类不卡| 精品视频全国免费看| 在线观看亚洲a| 欧美手机在线视频| 欧美日韩国产精品成人| 欧美精品日韩一区| 欧美一级xxx| 久久免费偷拍视频| 中文字幕乱码久久午夜不卡| 国产精品国产三级国产普通话蜜臀| 国产精品久久久久久久久免费桃花| 国产精品家庭影院| 亚洲精品国产精品乱码不99| 亚洲免费成人av| 亚洲综合色网站| 午夜精品福利久久久| 视频在线在亚洲| 狠狠色综合播放一区二区| 国产一区二区三区日韩 | 日韩久久一区二区| 亚洲精品高清视频在线观看| 亚洲第一成年网| 九色综合狠狠综合久久| 懂色av中文字幕一区二区三区| 成人福利电影精品一区二区在线观看| 99久久99久久精品国产片果冻| 色综合久久久久久久久久久| 91福利视频在线| 日韩欧美在线观看一区二区三区| 精品欧美久久久| 国产精品免费丝袜| 亚洲国产日韩a在线播放性色| 青青草原综合久久大伊人精品 | 日韩片之四级片| 亚洲国产精品v| 亚洲综合自拍偷拍| 精品一区二区综合| 色综合色狠狠综合色| 欧美一区二区不卡视频| 国产精品日日摸夜夜摸av| 亚洲一区二区四区蜜桃| 国产综合久久久久久久久久久久| 99在线精品观看| 日韩一二在线观看| 亚洲欧美激情插| 国产一区视频在线看| 精品视频一区三区九区| 国产喷白浆一区二区三区| 亚洲电影一区二区三区| 国产精品99久久久久久宅男| 欧美色综合影院| 亚洲国产精品av| 美女一区二区久久| 91在线精品秘密一区二区| 欧美一卡二卡三卡| 亚洲精品ww久久久久久p站| 久久电影国产免费久久电影 | 欧美片网站yy| 中文字幕日韩精品一区| 日韩电影在线免费| 日本精品视频一区二区| 国产欧美精品一区aⅴ影院| 国产精品国产三级国产aⅴ入口| 奇米色一区二区三区四区| 色噜噜狠狠色综合欧洲selulu| 欧美哺乳videos| 日韩高清不卡一区二区三区| eeuss鲁一区二区三区| 欧美成人精品1314www| 亚洲国产视频一区二区| 91小宝寻花一区二区三区| 国产欧美日韩中文久久| 紧缚捆绑精品一区二区| 91精品国产综合久久小美女| 亚洲综合小说图片| 99久久国产综合精品麻豆| 日本一区二区三区dvd视频在线| 日韩电影在线免费观看| 欧美三级电影一区| 亚洲影院免费观看| 色偷偷久久一区二区三区| 国产欧美一区二区精品久导航| 国模冰冰炮一区二区| 日韩视频一区二区| 婷婷成人激情在线网| 欧美三级在线播放| 亚洲伊人色欲综合网| 色哟哟一区二区| 亚洲在线中文字幕| 欧美精品在线一区二区三区| 亚洲一区二区三区国产| 欧美日韩国产电影| 舔着乳尖日韩一区|