亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美激情中文字幕| 免费在线欧美视频| 中文字幕佐山爱一区二区免费| 精品少妇一区二区| 欧美一级欧美三级| 日韩午夜激情免费电影| 日韩三级中文字幕| 欧美va日韩va| 国产亚洲午夜高清国产拍精品 | 亚洲国产精品黑人久久久| 久久精品一区蜜桃臀影院| 久久先锋影音av| 中文字幕第一区综合| 中文字幕一区二区日韩精品绯色| 成人免费va视频| 久久久蜜臀国产一区二区| 中文字幕亚洲欧美在线不卡| 亚洲国产精品av| 亚洲婷婷综合色高清在线| 一区二区三区四区国产精品| 性做久久久久久久免费看| 蜜臀av性久久久久蜜臀aⅴ四虎| 久久精品av麻豆的观看方式| 亚洲美女在线国产| 五月婷婷久久丁香| 久久精品国产精品亚洲红杏| 国产精品1区2区3区| 99久久er热在这里只有精品66| 91麻豆国产福利精品| 欧美人伦禁忌dvd放荡欲情| 精品日韩成人av| 欧美韩日一区二区三区四区| 亚洲精品视频在线观看网站| 亚洲电影你懂得| 极品美女销魂一区二区三区| 成人午夜免费电影| 欧美久久婷婷综合色| 精品国产免费一区二区三区香蕉 | 麻豆精品新av中文字幕| 国产成人免费视频精品含羞草妖精| 粉嫩av亚洲一区二区图片| 色视频成人在线观看免| 欧美一区二区三区四区久久 | 丝袜美腿成人在线| 国产呦精品一区二区三区网站| 成人美女视频在线观看| 欧美综合在线视频| 亚洲精品一区二区三区香蕉 | 免费欧美日韩国产三级电影| 高清视频一区二区| 欧美日韩国产一级| 国产欧美一区二区三区鸳鸯浴| 亚洲国产成人av网| 国产精品乡下勾搭老头1| 91福利国产成人精品照片| 日韩精品一区国产麻豆| 亚洲欧美日韩成人高清在线一区| 美女脱光内衣内裤视频久久网站| 99国产欧美久久久精品| 日韩精品一区在线| 一区二区三区在线观看视频| 国产一区二区三区免费播放| 欧美日韩激情一区| 中文字幕日韩av资源站| 国产在线乱码一区二区三区| 精品视频免费在线| 国产精品免费视频网站| 久草在线在线精品观看| 欧美日韩综合色| 国产精品久线观看视频| 久久国产欧美日韩精品| 欧美性大战久久久久久久蜜臀| 国产欧美一区二区三区在线看蜜臀 | 777a∨成人精品桃花网| 国产日韩v精品一区二区| 波多野结衣91| 日韩欧美国产综合在线一区二区三区| 亚洲视频一区二区免费在线观看 | 色婷婷av一区二区三区软件 | 裸体一区二区三区| 日本高清无吗v一区| 中文字幕av一区二区三区高| 久久精品99久久久| 欧美一卡二卡在线| 亚洲电影在线播放| 日本大香伊一区二区三区| 中文字幕亚洲在| 国产福利一区二区三区视频在线| 91精品在线一区二区| 亚洲午夜一区二区| 一本色道综合亚洲| 亚洲卡通动漫在线| 91在线播放网址| 中文字幕中文在线不卡住| 成人一区二区视频| 国产农村妇女精品| 国产夫妻精品视频| 国产日产亚洲精品系列| 国产成人av电影在线观看| 26uuu久久天堂性欧美| 日本sm残虐另类| 日韩一区二区三区免费看| 调教+趴+乳夹+国产+精品| 欧美日韩精品欧美日韩精品一 | 美女任你摸久久| 日韩女优毛片在线| 久久成人综合网| 欧美电影免费观看高清完整版在线观看| 天天av天天翘天天综合网 | 国产精品入口麻豆九色| 丁香激情综合国产| 国产精品福利电影一区二区三区四区| 成人免费视频视频| 日韩伦理电影网| 欧美午夜影院一区| 婷婷开心激情综合| 精品国产自在久精品国产| 国产一区二区免费视频| 欧美极品另类videosde| yourporn久久国产精品| 亚洲精品亚洲人成人网 | 国产精品每日更新在线播放网址 | 久久女同互慰一区二区三区| 成人免费看视频| 亚洲人成精品久久久久久| 欧美性猛交xxxxxxxx| 日本午夜精品一区二区三区电影| 欧美一级日韩不卡播放免费| 国产在线精品一区二区夜色| 国产精品久久免费看| 91国内精品野花午夜精品| 日韩成人av影视| 久久综合九色综合97婷婷女人| 国产精品一级片| 亚洲精选一二三| 91精品国产综合久久福利软件| 韩国精品一区二区| 亚洲日本丝袜连裤袜办公室| 欧美日韩在线播放三区| 黑人巨大精品欧美一区| 亚洲欧洲美洲综合色网| 欧美日韩1234| 成人小视频免费观看| 亚洲一区精品在线| 精品国产三级a在线观看| 91在线视频播放地址| 日本一区中文字幕| 中文一区二区在线观看| 欧美亚洲精品一区| 国产综合色精品一区二区三区| 中文字幕在线观看不卡| 欧美一区三区四区| 成人国产精品免费| 日韩电影在线免费| 国产精品久久久久9999吃药| 欧美日韩视频第一区| 国产福利91精品| 日韩精品一级中文字幕精品视频免费观看| 精品美女一区二区三区| 色综合天天性综合| 狠狠久久亚洲欧美| 亚洲国产精品久久人人爱蜜臀| 久久久精品免费网站| 欧美在线free| 高清视频一区二区| 日本亚洲最大的色成网站www| 国产精品免费久久| 日韩欧美国产午夜精品| 欧美亚洲丝袜传媒另类| 成年人国产精品| 精品一区二区三区免费毛片爱| 一区二区三区四区在线免费观看| 国产亚洲欧美一区在线观看| 7777精品伊人久久久大香线蕉| 99久久久免费精品国产一区二区| 美女在线观看视频一区二区| 亚洲无人区一区| 亚洲婷婷综合色高清在线| 国产性做久久久久久| 日韩欧美中文字幕一区| 欧美午夜精品免费| av影院午夜一区| 国产不卡视频一区二区三区| 日韩av在线免费观看不卡| 亚洲香蕉伊在人在线观| 亚洲精品中文字幕乱码三区| 国产精品欧美一区二区三区| 久久综合九色综合久久久精品综合| 欧美高清激情brazzers| 精品视频免费看| 欧美天堂一区二区三区| 一本久久a久久免费精品不卡| 成人综合婷婷国产精品久久免费| 久久国产精品99久久人人澡| 日韩av中文字幕一区二区三区| 亚洲五月六月丁香激情| 亚洲一区免费视频| 亚洲一区二区三区视频在线播放| 亚洲美女免费在线| 亚洲乱码国产乱码精品精可以看|