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

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

?? servletresponse.java

?? 圖書管理系統(tǒng),用JSP實(shí)現(xiàn),圖書的查詢,添加等功能
?? JAVA
字號(hào):
/*
 * 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;

import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.util.Locale;


/**
 * Defines an object to assist a servlet in sending a response to the client.
 * The servlet container creates a <code>ServletResponse</code> object and
 * passes it as an argument to the servlet's <code>service</code> method.
 *
 * <p>To send binary data in a MIME body response, use
 * the {@link ServletOutputStream} returned by {@link #getOutputStream}.
 * To send character data, use the <code>PrintWriter</code> object 
 * returned by {@link #getWriter}. To mix binary and text data,
 * for example, to create a multipart response, use a
 * <code>ServletOutputStream</code> and manage the character sections
 * manually.
 *
 * <p>The charset for the MIME body response can be specified with 
 * {@link #setContentType}.  For example, "text/html; charset=Shift_JIS".
 * The charset can alternately be set using {@link #setLocale}.
 * If no charset is specified, ISO-8859-1 will be used.  
 * The <code>setContentType</code> or <code>setLocale</code> method 
 * must be called before <code>getWriter</code> for the charset to 
 * affect the construction of the writer.
 * 
 * <p>See the Internet RFCs such as 
 * <a href="http://info.internet.isi.edu/in-notes/rfc/files/rfc2045.txt">
 * RFC 2045</a> for more information on MIME. Protocols such as SMTP
 * and HTTP define profiles of MIME, and those standards
 * are still evolving.
 *
 * @author 	Various
 * @version 	$Version$
 *
 * @see		ServletOutputStream
 *
 */
 
public interface ServletResponse {


    
    /**
     * Returns the name of the charset used for
     * the MIME body sent in this response.
     *
     * <p>If no charset has been assigned, it is implicitly
     * set to <code>ISO-8859-1</code> (<code>Latin-1</code>).
     *
     * <p>See RFC 2047 (http://ds.internic.net/rfc/rfc2045.txt)
     * for more information about character encoding and MIME.
     *
     * @return		a <code>String</code> specifying the
     *			name of the charset, for
     *			example, <code>ISO-8859-1</code>
     *
     */
  
    public String getCharacterEncoding();
    
    

    /**
     * Returns a {@link ServletOutputStream} suitable for writing binary 
     * data in the response. The servlet container does not encode the
     * binary data.  Either this method or {@link #getWriter} may 
     * be called to write the body, not both.
     *
     * @return				a {@link ServletOutputStream} for writing binary data	
     *
     * @exception IllegalStateException if the <code>getWriter</code> method
     * 					has been called on this response
     *
     * @exception IOException 		if an input or output exception occurred
     *
     * @see 				#getWriter
     *
     */

    public ServletOutputStream getOutputStream() throws IOException;
    
    

    /**
     * Returns a <code>PrintWriter</code> object that 
     * can send character text to the client. 
     * The character encoding used is the one specified 
     * in the <code>charset=</code> property of the
     * {@link #setContentType} method, which must be called
     * <i>before</i> calling this method for the charset to take effect. 
     *
     * <p>If necessary, the MIME type of the response is 
     * modified to reflect the character encoding used.
     *
     * <p>Either this method or {@link #getOutputStream} may be called
     * to write the body, not both.
     *
     * 
     * @return 				a <code>PrintWriter</code> object that 
     *					can return character data to the client 
     *
     * @exception UnsupportedEncodingException  if the charset specified in
     *						<code>setContentType</code> cannot be
     *						used
     *
     * @exception IllegalStateException    	if the <code>getOutputStream</code>
     * 						method has already been called for this 
     *						response object
     *
     * @exception IOException   		if an input or output exception occurred
     *
     * @see 					#getOutputStream
     * @see 					#setContentType
     *
     */

    public PrintWriter getWriter() throws IOException;
    
    
    
    

    /**
     * Sets the length of the content body in the response
     * In HTTP servlets, this method sets the HTTP Content-Length header.
     *
     *
     * @param len 	an integer specifying the length of the 
     * 			content being returned to the client; sets
     *			the Content-Length header
     *
     */

    public void setContentLength(int len);
    
    

    /**
     * Sets the content type of the response being sent to
     * the client. The content type may include the type of character
     * encoding used, for example, <code>text/html; charset=ISO-8859-4</code>.
     *
     * <p>If obtaining a <code>PrintWriter</code>, this method should be 
     * called first.
     *
     *
     * @param type 	a <code>String</code> specifying the MIME 
     *			type of the content
     *
     * @see 		#getOutputStream
     * @see 		#getWriter
     *
     */

    public void setContentType(String type);
    

    /**
     * Sets the preferred buffer size for the body of the response.  
     * The servlet container will use a buffer at least as large as 
     * the size requested.  The actual buffer size used can be found
     * using <code>getBufferSize</code>.
     *
     * <p>A larger buffer allows more content to be written before anything is
     * actually sent, thus providing the servlet with more time to set
     * appropriate status codes and headers.  A smaller buffer decreases 
     * server memory load and allows the client to start receiving data more
     * quickly.
     *
     * <p>This method must be called before any response body content is
     * written; if content has been written, this method throws an 
     * <code>IllegalStateException</code>.
     *
     * @param size 	the preferred buffer size
     *
     * @exception  IllegalStateException  	if this method is called after
     *						content has been written
     *
     * @see 		#getBufferSize
     * @see 		#flushBuffer
     * @see 		#isCommitted
     * @see 		#reset
     *
     */

    public void setBufferSize(int size);
    
    

    /**
     * Returns the actual buffer size used for the response.  If no buffering
     * is used, this method returns 0.
     *
     * @return	 	the actual buffer size used
     *
     * @see 		#setBufferSize
     * @see 		#flushBuffer
     * @see 		#isCommitted
     * @see 		#reset
     *
     */

    public int getBufferSize();
    
    

    /**
     * Forces any content in the buffer to be written to the client.  A call
     * to this method automatically commits the response, meaning the status 
     * code and headers will be written.
     *
     * @see 		#setBufferSize
     * @see 		#getBufferSize
     * @see 		#isCommitted
     * @see 		#reset
     *
     */

    public void flushBuffer() throws IOException;
    
    

    /**
     * Returns a boolean indicating if the response has been
     * committed.  A commited response has already had its status 
     * code and headers written.
     *
     * @return		a boolean indicating if the response has been
     *  		committed
     *
     * @see 		#setBufferSize
     * @see 		#getBufferSize
     * @see 		#flushBuffer
     * @see 		#reset
     *
     */

    public boolean isCommitted();
    
    

    /**
     * Clears any data that exists in the buffer as well as the status code and
     * headers.  If the response has been committed, this method throws an 
     * <code>IllegalStateException</code>.
     *
     * @exception IllegalStateException  if the response has already been
     *                                   committed
     *
     * @see 		#setBufferSize
     * @see 		#getBufferSize
     * @see 		#flushBuffer
     * @see 		#isCommitted
     *
     */

    public void reset();
    
    

    /**
     * Sets the locale of the response, setting the headers (including the
     * Content-Type's charset) as appropriate.  This method should be called
     * before a call to {@link #getWriter}.  By default, the response locale
     * is the default locale for the server.
     * 
     * @param loc  the locale of the response
     *
     * @see 		#getLocale
     *
     */

    public void setLocale(Locale loc);
    
    

    /**
     * Returns the locale assigned to the response.
     * 
     * 
     * @see 		#setLocale
     *
     */

    public Locale getLocale();



}





?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人精品影院| 国产乱对白刺激视频不卡| 欧美伦理电影网| 青青草原综合久久大伊人精品| 在线电影欧美成精品| 麻豆精品在线播放| 久久精品人人做人人爽人人| a级高清视频欧美日韩| 亚洲一区欧美一区| 91麻豆精品国产91久久久久| 麻豆精品一区二区av白丝在线| 精品国内二区三区| 成人午夜在线播放| 亚洲在线中文字幕| 日韩免费观看高清完整版在线观看| 美女脱光内衣内裤视频久久网站 | 欧美日韩中字一区| 免费观看在线综合色| 国产亚洲精品中文字幕| 色狠狠av一区二区三区| 蜜臀av国产精品久久久久| 久久久国产精品午夜一区ai换脸| 91丨porny丨蝌蚪视频| 男人的j进女人的j一区| 国产精品视频在线看| 欧美日韩中文精品| 国产在线播放一区二区三区| 最新国产精品久久精品| 欧美男女性生活在线直播观看| 精品一区二区三区不卡| 日韩理论电影院| 日韩一区二区在线观看视频| 国产91丝袜在线播放九色| 亚洲一区二区三区爽爽爽爽爽 | 欧美一区二区视频免费观看| 国产在线精品一区二区不卡了| 综合婷婷亚洲小说| 日韩一区二区精品在线观看| 成人小视频在线观看| 丝袜诱惑亚洲看片 | 26uuuu精品一区二区| 一本一道久久a久久精品综合蜜臀| 五月综合激情婷婷六月色窝| 国产亚洲人成网站| 欧美日韩电影在线| 岛国精品在线观看| 日韩精品一级二级 | 色综合久久88色综合天天免费| 免费成人av在线| 亚洲裸体xxx| 精品88久久久久88久久久| 在线这里只有精品| 高清不卡在线观看av| 青青草91视频| 亚洲精品综合在线| 国产午夜亚洲精品理论片色戒| 无吗不卡中文字幕| 国产精品久久久久久户外露出 | 欧美私模裸体表演在线观看| 激情亚洲综合在线| 亚洲高清免费观看| 综合亚洲深深色噜噜狠狠网站| 欧美成人猛片aaaaaaa| 欧美日韩三级一区| 成人免费毛片嘿嘿连载视频| 免费一级欧美片在线观看| 亚洲日本一区二区三区| 久久久久久久综合狠狠综合| 欧美精品丝袜久久久中文字幕| 91在线观看美女| 国产成人精品在线看| 秋霞午夜av一区二区三区| 一区二区三区四区视频精品免费| 久久久精品影视| 日韩欧美一级片| 欧美精品久久久久久久久老牛影院| 91小视频免费看| 顶级嫩模精品视频在线看| 九九视频精品免费| 日韩高清在线一区| 亚洲国产裸拍裸体视频在线观看乱了 | a亚洲天堂av| 成人做爰69片免费看网站| 韩国精品一区二区| 美女精品自拍一二三四| 午夜日韩在线观看| 一区二区三区欧美激情| 中文字幕字幕中文在线中不卡视频| 久久久三级国产网站| 日韩免费一区二区| 欧美一区二区在线播放| 在线播放中文字幕一区| 欧美日韩免费一区二区三区| 日本久久电影网| 91免费在线播放| av激情亚洲男人天堂| 成人v精品蜜桃久久一区| 国产精品一级片| 国产乱对白刺激视频不卡| 国内精品久久久久影院薰衣草| 久久精品国产99| 久久精品国产秦先生| 久久电影国产免费久久电影| 奇米色一区二区| 秋霞国产午夜精品免费视频| 日本女人一区二区三区| 免费欧美高清视频| 极品少妇xxxx偷拍精品少妇| 久久激情五月激情| 精彩视频一区二区三区| 国产综合久久久久久鬼色| 国产呦精品一区二区三区网站| 国产在线观看一区二区| 国产麻豆精品久久一二三| 国产精品中文有码| 国产99精品在线观看| eeuss鲁片一区二区三区| 色综合久久中文字幕| 欧美亚洲一区三区| 欧美日韩aaaaa| 欧美一区二区女人| 精品对白一区国产伦| 久久久一区二区三区捆绑**| 国产亚洲综合av| 亚洲婷婷综合色高清在线| 一区二区三区蜜桃网| 午夜精品一区在线观看| 蜜桃av噜噜一区| 国产九色精品成人porny| 99久久综合狠狠综合久久| 一本大道久久精品懂色aⅴ| 欧美视频在线观看一区二区| 欧美高清激情brazzers| 欧美不卡123| 中文字幕的久久| 一卡二卡三卡日韩欧美| 日本强好片久久久久久aaa| 国产乱码精品一区二区三区忘忧草 | 久久精品国产免费看久久精品| 国产精品77777| 97精品久久久午夜一区二区三区| 色菇凉天天综合网| 欧美一区二区三区爱爱| 欧美精品一区二区久久婷婷| 久久久久久久国产精品影院| 自拍偷拍欧美激情| 日本aⅴ免费视频一区二区三区| 国产精品自拍三区| 欧美综合色免费| 日韩一二在线观看| 国产精品第四页| 五月天婷婷综合| 国产精品69毛片高清亚洲| 欧美在线一区二区三区| 日韩一二三区不卡| 91麻豆国产福利精品| 欧美在线视频你懂得| 丝袜美腿亚洲一区二区图片| 国内精品在线播放| 97久久精品人人澡人人爽| 欧美日韩国产另类不卡| 国产午夜亚洲精品羞羞网站| 亚洲综合一区二区精品导航| 日本aⅴ亚洲精品中文乱码| 成人av在线一区二区| 欧美高清视频在线高清观看mv色露露十八| 精品国产三级电影在线观看| 亚洲欧美日韩国产另类专区| 免费欧美在线视频| 色综合久久88色综合天天| 2欧美一区二区三区在线观看视频| 亚洲色图都市小说| 麻豆精品国产传媒mv男同| 97精品久久久午夜一区二区三区| 日韩欧美不卡在线观看视频| 亚洲视频在线观看三级| 麻豆精品在线视频| 欧美影院午夜播放| 欧美经典一区二区| 日本中文字幕一区二区有限公司| 99视频在线观看一区三区| 欧美大片一区二区| 亚洲成人在线观看视频| 成人黄色网址在线观看| 欧美一区二区在线免费播放| 亚洲青青青在线视频| 国模娜娜一区二区三区| 欧美日韩在线播放三区四区| 国产精品初高中害羞小美女文| 蜜臀av在线播放一区二区三区| 一本久道久久综合中文字幕| 久久九九久精品国产免费直播| 午夜影院在线观看欧美| 99久久久国产精品| 国产偷国产偷亚洲高清人白洁 | 亚洲123区在线观看| 99这里只有久久精品视频| 精品国产99国产精品| 图片区日韩欧美亚洲| 92国产精品观看|