亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产精品国产三级国产专播品爱网| 蜜桃av一区二区三区| 日本中文在线一区| 99综合影院在线| 日韩久久精品一区| 午夜精品一区在线观看| 99v久久综合狠狠综合久久| 日韩一区二区三区三四区视频在线观看| 国产精品久久看| 国产精品 欧美精品| 欧美一级欧美三级在线观看| 一区二区成人在线视频| 99视频精品免费视频| 国产欧美日韩麻豆91| 久久精品72免费观看| 91精品福利在线一区二区三区 | 久久先锋影音av鲁色资源| 亚洲成人午夜电影| 色呦呦一区二区三区| 亚洲欧洲三级电影| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 日本韩国一区二区三区视频| 国产日韩高清在线| 国产一区在线看| 精品福利一二区| 国产精一品亚洲二区在线视频| 日韩美女视频在线| 九一九一国产精品| 久久婷婷成人综合色| 国产精品18久久久久久久久| 国产亚洲欧美日韩俺去了| 国产成人欧美日韩在线电影| 久久亚洲精品小早川怜子| 国产高清亚洲一区| 国产日韩欧美激情| 99国产欧美久久久精品| 一区二区久久久久久| 欧美日本一区二区在线观看| 日韩综合一区二区| 欧美成人女星排名| 成人手机在线视频| 亚洲伦理在线免费看| 欧美色综合影院| 九一九一国产精品| 国产精品美女久久久久久久久| av电影一区二区| 午夜精品福利在线| 精品处破学生在线二十三| 国产成人精品亚洲日本在线桃色 | 久久久亚洲高清| 成人av在线影院| 亚洲伊人伊色伊影伊综合网| 91精品国产免费| 国产高清久久久久| 一区二区在线观看视频| 欧美一二三四在线| 不卡一区二区在线| 日韩精品一二三四| 国产精品婷婷午夜在线观看| 欧美日韩一区久久| 国产精品正在播放| 亚洲综合色成人| 国产日韩欧美一区二区三区乱码| 色天使色偷偷av一区二区| 美国欧美日韩国产在线播放| 国产精品夫妻自拍| 欧美一区二区三区免费大片 | 欧美群妇大交群中文字幕| 亚洲欧洲无码一区二区三区| 91麻豆精品国产91久久久| 国产91综合网| 免费人成网站在线观看欧美高清| 国产精品福利电影一区二区三区四区| 欧美日韩国产精品自在自线| 成人av资源在线观看| 看片网站欧美日韩| 亚洲va欧美va国产va天堂影院| 中文字幕欧美三区| 91精品国产日韩91久久久久久| www.日本不卡| 国产美女精品在线| 日本不卡不码高清免费观看| 亚洲另类中文字| 国产欧美精品一区aⅴ影院| 日韩一区二区电影网| 在线观看精品一区| 成人午夜av电影| 国产乱妇无码大片在线观看| 丝袜国产日韩另类美女| 日韩一区日韩二区| 国产亚洲婷婷免费| 欧美大片一区二区| 日韩午夜在线观看视频| 欧美三级电影在线看| 99视频热这里只有精品免费| 国产成人亚洲精品狼色在线| 捆绑调教一区二区三区| 日韩av网站免费在线| 丝袜美腿亚洲一区二区图片| 亚洲第一搞黄网站| 亚洲一区二区三区小说| 亚洲乱码日产精品bd| 亚洲欧美日韩国产成人精品影院 | 成人国产电影网| 国产老妇另类xxxxx| 精品影院一区二区久久久| 久久精品噜噜噜成人88aⅴ | 日韩一区二区三区在线| 欧美一级欧美三级| 日韩精品综合一本久道在线视频| 欧美一区二区免费| 精品女同一区二区| 久久综合九色综合97婷婷| 精品久久久久久久久久久久久久久 | 欧美浪妇xxxx高跟鞋交| 欧美性生活一区| 欧美一区二区视频网站| 91麻豆精品国产自产在线 | 久久亚洲精品小早川怜子| 久久亚洲欧美国产精品乐播| 久久夜色精品国产欧美乱极品| 欧美videos大乳护士334| 久久人人爽爽爽人久久久| 国产蜜臀av在线一区二区三区| 国产欧美日韩另类视频免费观看| 国产精品情趣视频| 亚洲精品国久久99热| 亚洲成人精品在线观看| 热久久免费视频| 久久成人免费日本黄色| 国产成a人无v码亚洲福利| 91在线免费视频观看| 欧美在线免费观看视频| 日韩亚洲欧美一区二区三区| 久久久三级国产网站| 日韩一区在线看| 青椒成人免费视频| 成人精品国产一区二区4080| 欧美在线制服丝袜| 2023国产精品视频| 一区二区三区在线视频播放| 麻豆精品蜜桃视频网站| 成人精品国产福利| 欧美一区二区在线免费播放| 国产欧美综合在线观看第十页| 亚洲一区二区视频在线观看| 久久国产乱子精品免费女| 一本久久a久久精品亚洲| 制服丝袜亚洲精品中文字幕| 国产视频一区在线观看 | 91精品国产综合久久香蕉麻豆| 精品国产乱码久久久久久夜甘婷婷| 中文幕一区二区三区久久蜜桃| 亚洲国产日韩在线一区模特| 国产精品一区在线| 欧美系列一区二区| 国产精品久久久久影院亚瑟 | 亚洲一区二区三区激情| 国产美女精品人人做人人爽| 免费不卡在线视频| 久久99深爱久久99精品| 在线视频欧美区| 久久久噜噜噜久久中文字幕色伊伊| 一区二区三区四区视频精品免费| 国产一区二区免费视频| 欧美日韩一区二区在线观看 | 成人国产精品免费观看视频| 欧美一级夜夜爽| 亚洲国产三级在线| 91婷婷韩国欧美一区二区| 久久色成人在线| 免费人成黄页网站在线一区二区 | 97久久精品人人做人人爽50路 | 国产精品一区二区在线播放| 欧美日韩国产不卡| 亚洲另类在线视频| eeuss国产一区二区三区| 久久精品一区二区三区四区| 日韩av网站在线观看| 欧美日韩激情在线| 亚洲精品一卡二卡| www.日韩在线| 中文字幕在线不卡国产视频| 国产91精品一区二区麻豆网站 | 99久久精品免费| 国产亚洲欧美日韩在线一区| 精品一区二区久久| 精品粉嫩aⅴ一区二区三区四区| 午夜欧美电影在线观看| 欧美三级视频在线| 亚洲一区在线观看视频| 欧美日韩在线播| 香蕉av福利精品导航| 欧美日韩在线不卡| 日本亚洲视频在线| 日韩一级黄色片| 国产一区二区三区观看| 久久精品亚洲一区二区三区浴池 | 久久97超碰国产精品超碰| 日韩一级黄色片|