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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? httpservletresponse.java

?? Java 的servlets和jsp的軟件開發包。支持jsp1.0以及servlet2.1。版本比較舊
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/*
 * $Id: HttpServletResponse.java,v 1.4 1999/04/20 20:37:48 sahmed Exp $
 * 
 * Copyright (c) 1995-1999 Sun Microsystems, Inc. All Rights Reserved.
 * 
 * This software is the confidential and proprietary information of Sun
 * Microsystems, Inc. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Sun.
 * 
 * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
 * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
 * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
 * THIS SOFTWARE OR ITS DERIVATIVES.
 * 
 * CopyrightVersion 1.0
 */

package javax.servlet.http;

import javax.servlet.ServletResponse;
import javax.servlet.ServletException;
import java.io.IOException;

/**
 *
 * Defines an HTTP servlet response that a servlet running on a
 * Web server sends to a client using HTTP. This interface
 * allows the servlet's <code>service</code> method to access
 * HTTP headers and return data to its client. The servlet engine
 * implements this interface.
 *
 * 
 * @author	Various
 * @version	$Version$
 *
 * @see		javax.servlet.ServletResponse
 *
 */



public interface HttpServletResponse extends ServletResponse {

    /**
     * Adds the specified cookie to the response.  It 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);

    /**
     * Checks whether the response message header has a field with
     * the specified name.
     * 
     * @param name the header field name
     * @return true if the response message header has a field with
     * the specified name; false 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 should include 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>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
     * should include the logic to determine whether the session ID
     * needs to be encoded in the URL.  Because the rules for making
     * this determination 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 HttpServletResponse.sendRedirect
     * method should be run through this method.  Otherwise, URL
     * rewriting canont be used with browsers which do not support
     * cookies.
     *
     * <p>After this method is called, the response should be considered
     * to be committed and should not be written to.
     *
     * @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);

    /**
     * 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 should include 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>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.
     * @deprecated Use encodeURL(String url)
     */

    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
     * should include the logic to determine whether the session ID
     * needs to be encoded in the URL.  Because the rules for making
     * this determination 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 HttpServletResponse.sendRedirect
     * method should be run through this method.  Otherwise, URL
     * rewriting canont 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.       
     * @deprecated Use encodeRedirectURL(String url)
     */

    public String encodeRedirectUrl(String url);

    /**
     * Sends an error response to the client using the specified status
     * code and descriptive message.  If setStatus has previously been
     * called, it is reset to the error status code.  The message is
     * sent as the body of an HTML page, which is returned to the user
     * to describe the problem.  The page is sent with a default HTML
     * header; the message is enclosed in simple body tags
     * (&lt;body&gt;&lt;/body&gt;).
     *
     * <p>After using this method, the response should be considered
     * to be committed and should not be written to.
     *
     * @param sc the status code
     * @param msg the detail message
     * @exception IOException If an I/O error has occurred.  */

    public void sendError(int sc, String msg) throws IOException;

    /**
     * Sends an error response to the client using the specified
     * status code and a default message.
     * @param sc the status code
     * @exception IOException If an I/O error has occurred.
     */

    public void sendError(int sc) throws IOException;

    /**
     * Sends a temporary redirect response to the client using the
     * specified redirect location URL.  The URL must be absolute (for
     * example, <code><em>https://hostname/path/file.html</em></code>).
     * Relative URLs are not permitted here.
     *
     * @param location the redirect location URL
     * @exception IOException If an I/O error has occurred.
     */

    public void sendRedirect(String location) throws IOException;
    
    /**
     * 
     * Adds a field to the response header with the given name and
     * date-valued field.  The date is specified in terms of
     * milliseconds since the epoch.  If the date field 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 field
     * @param value the header field's date value
     * 
     * @see #containsHeader
     */

    public void setDateHeader(String name, long date);
    
    /**
     *
     * Adds a field to the response header with the given name and value.
     * If the field 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 field
     * @param value the header field's value
     *
     * @see #containsHeader
     */

    public void setHeader(String name, String value);

    /**
     * Adds a field to the response header with the given name and
     * integer value.  If the field 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 field
     * @param value the header field's integer value
     *
     * @see #containsHeader
     */

    public void setIntHeader(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
     * is an error, the <code>sendError</code> method should be used
     * instead.
     *
     * @param sc the status code
     *
     * @see #sendError
     */

    public void setStatus(int sc);
  
    /**
     * Sets the status code and message for this response.  If the
     * field had already been set, the new value overwrites the
     * previous one.  The message is sent as the body of an HTML
     * page, which is returned to the user to describe the problem.
     * The page is sent with a default HTML header; the message
     * is enclosed in simple body tags (&lt;body&gt;&lt;/body&gt;).
     * 
     * @param sc the status code
     * @param sm the status message
     * @deprecated ambiguous meaning. To send an error with a description
     * page, use sendError(int sc, String msg);
     */

    public void setStatus(int sc, String sm);

    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线观看你懂的| 国产成人亚洲综合a∨婷婷图片| 久久久精品免费观看| 欧美电影影音先锋| 色久综合一二码| 91浏览器入口在线观看| 91在线视频播放| 99视频精品在线| 91麻豆精品在线观看| 99re6这里只有精品视频在线观看| 国产成人精品一区二区三区网站观看| 激情国产一区二区| 国产精品123区| 91小视频免费看| 色偷偷成人一区二区三区91| 色老头久久综合| 欧美精品一卡两卡| 欧美zozozo| 中文字幕免费在线观看视频一区| 国产精品网曝门| 夜夜操天天操亚洲| 日韩在线a电影| 国产精品亚洲第一| 91免费精品国自产拍在线不卡| 日本精品裸体写真集在线观看 | 这里只有精品免费| 欧美tickling网站挠脚心| 久久久精品欧美丰满| 一区二区三区在线视频播放| 石原莉奈在线亚洲三区| 国产精品自拍网站| 欧美特级限制片免费在线观看| 欧美一卡2卡3卡4卡| 国产精品久久久一本精品| 亚洲综合久久av| 国产自产高清不卡| 99精品欧美一区| 91精品国产综合久久久久久 | 成人午夜碰碰视频| 欧美色电影在线| 国产农村妇女精品| 麻豆91在线播放| 99精品国产视频| 日韩欧美亚洲另类制服综合在线| 中文字幕av不卡| 琪琪久久久久日韩精品| 91在线视频官网| 国产婷婷精品av在线| 亚洲成人免费在线| 99热精品国产| 精品国产免费一区二区三区香蕉| 亚洲少妇最新在线视频| 国产一区二区三区精品视频| 欧美视频一区在线| 中文字幕亚洲精品在线观看 | 免费成人av在线播放| 97久久精品人人爽人人爽蜜臀| 日韩欧美一区电影| 天天综合网天天综合色| 色综合天天综合网国产成人综合天 | 91福利国产成人精品照片| 2017欧美狠狠色| 男女性色大片免费观看一区二区| 94色蜜桃网一区二区三区| 久久免费美女视频| 久久精品噜噜噜成人88aⅴ| 欧美日韩亚洲综合在线| 亚洲综合在线第一页| 99国产精品久久| 亚洲国产精品激情在线观看| 久久国产综合精品| 日韩精品在线一区二区| 麻豆精品国产91久久久久久| 欧美一区二区黄| 捆绑调教一区二区三区| 欧美videos中文字幕| 国产一区二区不卡老阿姨| 日韩欧美成人午夜| 久久99国内精品| 日韩三级在线观看| 美女尤物国产一区| 亚洲精品在线三区| 国产91精品在线观看| 国产精品久久午夜夜伦鲁鲁| 大尺度一区二区| 亚洲日本va在线观看| 91影视在线播放| 亚洲乱码国产乱码精品精98午夜| 99久久99久久精品免费观看| 亚洲人成在线观看一区二区| 在线观看av一区二区| 亚洲成人免费视| 日韩一区二区三区视频在线观看| 久久99精品久久久久婷婷| 久久免费电影网| www.欧美日韩国产在线| 尤物视频一区二区| 欧美精品一二三四| 国产在线精品国自产拍免费| 国产女人水真多18毛片18精品视频| 99久久精品国产导航| 午夜电影一区二区三区| 精品免费日韩av| 成人黄色电影在线| 日精品一区二区三区| 久久久久成人黄色影片| 91啪亚洲精品| 免费在线观看不卡| 国产精品久久夜| 欧美一区二区三区播放老司机| 久久国产福利国产秒拍| 亚洲精品免费一二三区| 精品国产一区二区三区忘忧草 | 精品欧美乱码久久久久久| 国产黄色精品视频| 亚洲福利一区二区| 久久久精品国产免费观看同学| 91美女在线看| 国产一区二区三区综合| 亚洲国产成人tv| 国产欧美精品一区aⅴ影院| 欧美亚洲精品一区| 国产一二精品视频| 性欧美大战久久久久久久久| 欧美经典一区二区三区| 91激情五月电影| 成人免费福利片| 日韩不卡手机在线v区| 国产精品国产馆在线真实露脸| 日韩一区二区电影| 色域天天综合网| 国产成人午夜片在线观看高清观看| 五月天视频一区| 一区二区三区精品视频| 中文字幕av一区二区三区高| 日韩欧美不卡在线观看视频| 欧美日韩aaaaaa| 色婷婷综合久久久中文字幕| 成人性生交大片免费看视频在线| 石原莉奈在线亚洲三区| 亚洲综合激情网| 亚洲乱码中文字幕综合| 国产精品护士白丝一区av| 精品国产成人在线影院| 欧美一级二级三级蜜桃| 欧美视频一区二区三区在线观看| aaa国产一区| 懂色av一区二区在线播放| 国产精品自拍在线| 国产精品一区二区无线| 国产精品一区二区果冻传媒| 日韩**一区毛片| 日本视频一区二区| 日韩av高清在线观看| 亚洲chinese男男1069| 一区二区三区不卡视频在线观看 | 精品视频1区2区3区| 91高清在线观看| 在线观看日韩高清av| 欧美丝袜丝nylons| 欧美一区二区在线免费播放| 欧美军同video69gay| 欧美一区二区三区日韩视频| 日韩一级二级三级| 精品欧美乱码久久久久久1区2区| 精品久久久久久久久久久久包黑料| 欧美一区二区三区视频免费| 久久综合网色—综合色88| 在线播放中文一区| 日韩视频中午一区| 久久综合999| 中文一区二区在线观看| 亚洲欧美国产三级| 亚洲国产成人tv| 精品一区二区在线免费观看| 国产乱淫av一区二区三区| 成人午夜电影久久影院| 91一区二区三区在线观看| 欧美性欧美巨大黑白大战| 在线不卡一区二区| 久久久久久99精品| 亚洲一线二线三线久久久| 日韩av电影天堂| 国产成人免费xxxxxxxx| 欧美影视一区在线| 精品久久久久久久人人人人传媒| 欧美激情在线看| 亚洲一二三区不卡| 国产伦精品一区二区三区免费| 91美女精品福利| 日韩欧美国产三级电影视频| 国产精品污网站| 日韩中文字幕一区二区三区| 国内精品免费**视频| 日本高清不卡视频| 精品av综合导航| 亚洲小少妇裸体bbw| 国产成人免费视频| 69堂亚洲精品首页| 亚洲人成亚洲人成在线观看图片|