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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? httpservletresponse.java

?? 圖書管理系統(tǒng),用JSP實現(xiàn),圖書的查詢,添加等功能
?? 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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
3atv一区二区三区| 国产一区激情在线| 欧美亚洲一区二区在线| 亚洲免费观看高清在线观看| 在线影视一区二区三区| 视频一区二区三区入口| 精品国产一区二区国模嫣然| 国产福利91精品| 亚洲日本在线a| 欧美日韩一区二区三区在线看| 日韩制服丝袜先锋影音| 2021国产精品久久精品| av在线免费不卡| 亚洲不卡一区二区三区| 日韩精品在线网站| 中文字幕第一页久久| 99精品久久久久久| 亚洲三级电影全部在线观看高清| 91色.com| 日韩成人av影视| 久久久久久久久久看片| 91视频在线观看免费| 无码av中文一区二区三区桃花岛| 欧美电影免费观看高清完整版| 国产伦理精品不卡| 亚洲精品视频在线观看网站| 欧美一级免费大片| fc2成人免费人成在线观看播放| 一区二区三区成人在线视频| 日韩欧美黄色影院| 91免费观看视频在线| 日本伊人午夜精品| 国产精品国产三级国产普通话三级 | 久久蜜桃一区二区| fc2成人免费人成在线观看播放 | 色婷婷亚洲婷婷| 免费在线一区观看| 国产精品久久久久久福利一牛影视 | 丝袜亚洲另类丝袜在线| 国产精品亲子乱子伦xxxx裸| 欧美日韩在线直播| 国产一区二区三区在线观看免费| 亚洲视频在线一区观看| 2023国产精品自拍| 91精品国产综合久久精品图片| av毛片久久久久**hd| 蜜臀国产一区二区三区在线播放| 亚洲欧美偷拍另类a∨色屁股| 精品乱人伦小说| 欧美精品vⅰdeose4hd| 国内精品嫩模私拍在线| 亚洲一区二区三区视频在线 | 欧美精品18+| 99久久精品国产精品久久| 九色综合狠狠综合久久| 亚洲国产成人91porn| 国产精品欧美一区喷水| 欧美成人艳星乳罩| 欧美日韩精品福利| 色婷婷综合五月| 99视频精品免费视频| 国产精品一区二区在线观看不卡| 亚洲mv在线观看| 亚洲一区二区偷拍精品| 亚洲精选免费视频| 亚洲视频免费看| 中文幕一区二区三区久久蜜桃| 精品国产成人系列| 精品日韩成人av| 欧美一区二区精品| 日韩精品一区二区三区老鸭窝| 久久99国产精品免费网站| 欧美激情在线看| 久久久久久久久久久久电影| 精品国产伦一区二区三区观看体验| 欧美丰满美乳xxx高潮www| 欧美日韩亚洲综合一区| 欧美性videosxxxxx| 在线精品视频一区二区| 色婷婷av一区二区三区软件| 在线观看91视频| 欧美色区777第一页| 欧美精品久久久久久久多人混战| 欧美日韩一本到| 欧美久久久一区| 欧美一区二区三区日韩| 欧美哺乳videos| 久久综合久久综合久久综合| 久久久91精品国产一区二区三区| 久久免费看少妇高潮| 国产欧美日韩中文久久| 一区精品在线播放| 一区二区在线免费| 日韩精品免费视频人成| 久久激情综合网| 粉嫩在线一区二区三区视频| 91在线精品秘密一区二区| 欧美日韩在线三区| 欧美日韩久久不卡| 国产日韩成人精品| 日本一区二区成人在线| 欧美国产在线观看| 亚洲女人小视频在线观看| 亚洲国产精品精华液网站| 日本不卡123| 成人福利视频在线| 精品视频色一区| 久久人人97超碰com| 中文字幕人成不卡一区| 日韩高清在线观看| 国产激情视频一区二区在线观看 | 亚洲成人先锋电影| 老司机精品视频一区二区三区| 国产福利一区二区三区视频| 在线亚洲一区二区| 亚洲精品在线电影| 亚洲美女一区二区三区| 毛片不卡一区二区| 97se亚洲国产综合自在线 | 日韩欧美二区三区| 亚洲人一二三区| 久久国产精品第一页| 91在线免费看| www国产精品av| 亚洲.国产.中文慕字在线| 日韩一区二区麻豆国产| 国产丝袜美腿一区二区三区| 亚洲国产一区视频| 成人网男人的天堂| 日韩一区二区免费电影| 一区二区三区四区在线播放| 国产一区91精品张津瑜| 欧美日韩在线播放| 国产精品久久久久久久蜜臀| 日本视频一区二区三区| 91免费版pro下载短视频| 久久久电影一区二区三区| 日韩中文字幕麻豆| 91高清视频免费看| 国产精品福利电影一区二区三区四区| 日本怡春院一区二区| 日本丶国产丶欧美色综合| 亚洲国产精品激情在线观看| 久久国产视频网| 欧美日韩在线一区二区| 亚洲欧洲日产国产综合网| 国产麻豆精品久久一二三| 欧美一级欧美三级| 日本一道高清亚洲日美韩| 欧美日韩一区二区三区在线看| 国产精品初高中害羞小美女文| 久久99国产精品免费| 欧美一级日韩一级| 亚洲一区二区黄色| 日本精品裸体写真集在线观看| 国产精品网站在线观看| 国产不卡免费视频| 蜜桃视频在线观看一区| 欧美性受xxxx| 亚洲一区在线观看免费观看电影高清| fc2成人免费人成在线观看播放| 国产嫩草影院久久久久| 国产精品亚洲第一区在线暖暖韩国| 日韩欧美三级在线| 免费人成网站在线观看欧美高清| 欧美久久久一区| 丝袜脚交一区二区| 欧美一区二区在线免费观看| 轻轻草成人在线| 日韩欧美国产综合一区 | 91.麻豆视频| 日韩高清一区在线| 欧美成人福利视频| 国产精品一区二区在线观看不卡 | 欧美日韩国产美女| 蜜桃视频一区二区三区在线观看 | 国产999精品久久久久久绿帽| 国产亚洲一区二区三区在线观看| 韩国中文字幕2020精品| 精品国产亚洲在线| 国产91精品在线观看| 中文字幕一区二区不卡| 在线视频国内一区二区| 首页国产欧美日韩丝袜| 欧美变态tickle挠乳网站| 国产激情一区二区三区| 色噜噜久久综合| 国产91精品入口| 精品制服美女丁香| 国产肉丝袜一区二区| 国产精品一区二区在线播放| 成人av免费观看| 欧美一区二区三区四区久久| 欧美韩国日本一区| 视频一区二区三区中文字幕| 成人av电影在线网| 精品国产91久久久久久久妲己| 国产精品国产馆在线真实露脸 | 成人看片黄a免费看在线| 欧美久久高跟鞋激|