亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
久久久午夜精品理论片中文字幕| 这里只有精品99re| 视频在线观看91| 亚洲国产激情av| 欧美人与禽zozo性伦| 成人免费视频网站在线观看| 日韩不卡手机在线v区| 国产精品福利电影一区二区三区四区| 欧美日韩国产中文| 93久久精品日日躁夜夜躁欧美| 精品制服美女久久| 婷婷夜色潮精品综合在线| 国产精品免费网站在线观看| 日韩欧美国产综合在线一区二区三区| 色婷婷久久久亚洲一区二区三区| 懂色av一区二区三区蜜臀| 蜜臀久久久久久久| 亚洲风情在线资源站| 亚洲精品视频一区| 亚洲欧洲日韩av| 中文字幕第一页久久| 精品国产三级a在线观看| 欧美日韩免费观看一区三区| 色悠悠久久综合| 99热在这里有精品免费| 丁香婷婷综合色啪| 国产不卡在线一区| 国产精品白丝jk白祙喷水网站| 狂野欧美性猛交blacked| 日韩黄色免费网站| 日韩国产在线一| 天堂一区二区在线免费观看| 亚洲成人av免费| 亚洲成人精品影院| 亚洲成人免费观看| 人人精品人人爱| 美女网站视频久久| 国内精品伊人久久久久av一坑| 日韩av网站免费在线| 日韩1区2区3区| 蜜臀久久久99精品久久久久久| 日本亚洲天堂网| 蜜桃视频一区二区| 久久成人久久鬼色| 国产自产高清不卡| 国产精品 日产精品 欧美精品| 国产精品一区二区在线观看网站 | 91福利在线播放| 91精品办公室少妇高潮对白| 色激情天天射综合网| 欧美吞精做爰啪啪高潮| 在线不卡中文字幕播放| 91麻豆精品国产91久久久久| 日韩精品资源二区在线| 久久蜜桃香蕉精品一区二区三区| 久久免费视频色| 国产精品国模大尺度视频| 亚洲日本电影在线| 亚洲6080在线| 人人超碰91尤物精品国产| 激情久久五月天| 床上的激情91.| 在线观看网站黄不卡| 91精品国产一区二区三区 | 欧美色爱综合网| 7777精品伊人久久久大香线蕉的 | 亚洲视频在线一区二区| 亚瑟在线精品视频| 国内精品免费**视频| 99精品视频在线免费观看| 精品视频在线免费看| 日韩美女在线视频| 国产精品久久久久影院亚瑟| 一区二区三区四区中文字幕| 日本欧美在线观看| 国产盗摄精品一区二区三区在线| 色婷婷精品久久二区二区蜜臀av | 欧美精品1区2区3区| 亚洲精品一区二区三区精华液| 国产精品三级在线观看| 亚洲综合自拍偷拍| 国产一区二区伦理片| 色菇凉天天综合网| 久久蜜臀中文字幕| 亚洲国产cao| 国产不卡一区视频| 777a∨成人精品桃花网| 国产精品私人影院| 日韩在线一二三区| av不卡在线观看| 欧美一区二区三区免费| 亚洲视频资源在线| 紧缚奴在线一区二区三区| 色婷婷综合久久久| 欧美激情自拍偷拍| 六月丁香婷婷久久| 日本黄色一区二区| 国产亚洲一二三区| 日本91福利区| 在线观看日韩国产| 中文一区在线播放| 韩国av一区二区三区在线观看| 色就色 综合激情| 国产欧美日产一区| 美女视频黄a大片欧美| 色94色欧美sute亚洲13| 国产亚洲欧美一区在线观看| 日韩电影免费一区| 一本色道a无线码一区v| 国产精品卡一卡二| 国产福利精品一区| 精品日韩欧美在线| 奇米色777欧美一区二区| 色老汉一区二区三区| 国产精品无码永久免费888| 国模大尺度一区二区三区| 7777精品久久久大香线蕉| 夜夜操天天操亚洲| 色中色一区二区| 亚洲欧美日韩在线不卡| 成人午夜视频在线| 国产区在线观看成人精品| 看片网站欧美日韩| 日韩午夜电影在线观看| 日韩av不卡在线观看| 在线成人小视频| 日韩av一区二| 欧美一区二区三区四区高清| 亚洲一区av在线| 欧洲av在线精品| 亚洲主播在线观看| 色婷婷久久综合| 一区二区三区资源| 色婷婷综合中文久久一本| 亚洲激情自拍视频| 在线观看91视频| 亚洲国产一区视频| 欧美日韩一区二区电影| 亚洲成年人网站在线观看| 欧美在线|欧美| 亚洲成av人影院在线观看网| 欧美婷婷六月丁香综合色| 一区二区三区在线播| 欧美精选午夜久久久乱码6080| 日日夜夜免费精品视频| 日韩精品最新网址| 国产成人免费在线视频| 国产精品久久久久一区二区三区共| 国产.欧美.日韩| 亚洲日本在线看| 欧美日韩中文字幕一区| 青草av.久久免费一区| 欧美va亚洲va国产综合| 国产成人鲁色资源国产91色综| 欧美国产欧美亚州国产日韩mv天天看完整| 成人黄色网址在线观看| 亚洲欧美日韩中文字幕一区二区三区| 欧美性三三影院| 久久不见久久见中文字幕免费| 欧美精品一区二区三区蜜臀| 国产精品系列在线观看| 专区另类欧美日韩| 欧美三级三级三级爽爽爽| 久久国产三级精品| 国产精品欧美经典| 欧美日韩国产小视频| 国产在线视频一区二区三区| 国产精品毛片久久久久久久| 欧美专区在线观看一区| 免费人成精品欧美精品 | 欧美成人三级在线| 99国内精品久久| 日韩和欧美一区二区| 国产亚洲短视频| 欧美视频一区二区三区在线观看| 免费精品视频最新在线| 国产精品美女久久久久aⅴ国产馆| 欧美私人免费视频| 国产一区二区精品久久91| 亚洲黄一区二区三区| 精品国产麻豆免费人成网站| 色综合天天视频在线观看| 蜜臀国产一区二区三区在线播放| 中文字幕一区三区| 欧美一区二区高清| 色综合婷婷久久| 国产一区二区电影| 亚洲成人动漫av| 中文字幕日本不卡| 久久―日本道色综合久久| 在线观看免费一区| 国产成人av在线影院| 日韩av一二三| 亚洲午夜精品久久久久久久久| 国产午夜精品久久久久久久| 欧美疯狂做受xxxx富婆| 91丨九色porny丨蝌蚪| 国产在线国偷精品免费看| 午夜精品免费在线观看| 综合久久久久久|