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

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

?? servletresponse.java

?? jsp數(shù)據(jù)庫系統(tǒng)
?? JAVA
字號:
/*
 * 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
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线播精品第三| 成人欧美一区二区三区小说| 26uuu欧美| 日本一区二区不卡视频| 亚洲精品v日韩精品| 日韩综合在线视频| 国产另类ts人妖一区二区| 99精品国产99久久久久久白柏| 欧美色图12p| 久久色在线观看| 亚洲精品免费在线观看| 日本不卡1234视频| 国产成人aaa| 欧美在线看片a免费观看| 在线成人高清不卡| 久久综合网色—综合色88| 中文子幕无线码一区tr| 一区二区三区日本| 日本成人在线看| 高清国产一区二区三区| 94-欧美-setu| 欧美一区二区久久久| 国产欧美日韩亚州综合| 亚洲三级电影网站| 日韩av中文字幕一区二区| 性感美女久久精品| 久久精品国产精品亚洲综合| 国产资源精品在线观看| 精品一区二区三区的国产在线播放| 国产乱码精品一区二区三区av| 成人黄色综合网站| 欧美私模裸体表演在线观看| 日韩一区二区三区精品视频 | 亚洲色欲色欲www在线观看| 亚洲制服丝袜av| 久久精品久久久精品美女| 色综合天天综合网天天看片| 日韩一区二区三区电影在线观看| 欧美国产日韩一二三区| 亚洲国产wwwccc36天堂| 国产99久久久精品| 欧美精品1区2区3区| 久久久久久久久久久黄色| 亚洲国产欧美在线| 国产 欧美在线| 日韩一区二区在线观看视频| 亚洲色图一区二区| 精品一区二区在线视频| 色婷婷综合中文久久一本| 精品粉嫩aⅴ一区二区三区四区| 亚洲乱码国产乱码精品精98午夜| 久久99久久精品| 在线看国产日韩| 国产精品私人自拍| 午夜av一区二区| 国产mv日韩mv欧美| 337p亚洲精品色噜噜狠狠| 欧美变态凌虐bdsm| 日日夜夜精品视频天天综合网| 99精品欧美一区| 国产亚洲婷婷免费| 青娱乐精品视频在线| 色综合久久久久综合99| 久久久.com| 奇米色777欧美一区二区| 91丨九色丨黑人外教| 久久这里只有精品首页| 日韩av中文字幕一区二区| 欧洲一区二区三区在线| 中文字幕一区二区三区乱码在线| 韩国成人精品a∨在线观看| 欧美日韩日本视频| 一区二区三区高清在线| fc2成人免费人成在线观看播放| 日韩免费观看2025年上映的电影 | 蜜桃精品在线观看| 精品视频123区在线观看| 樱花草国产18久久久久| 成人午夜视频福利| 久久精品人人做| 九色porny丨国产精品| 日韩视频免费观看高清完整版| 亚洲国产中文字幕在线视频综合| 91丨九色丨蝌蚪富婆spa| 中文字幕亚洲一区二区va在线| 国产成人在线网站| 久久新电视剧免费观看| 久久99国产乱子伦精品免费| 欧美一区二区在线不卡| 国产精品亚洲专一区二区三区| 91精品在线免费| 裸体一区二区三区| 日韩欧美成人午夜| 精品在线播放免费| 337p日本欧洲亚洲大胆精品| 久久狠狠亚洲综合| 精品精品国产高清a毛片牛牛| 亚洲va韩国va欧美va| 欧美在线色视频| 亚洲精品videosex极品| 97精品久久久久中文字幕| 中文子幕无线码一区tr | 一本色道a无线码一区v| 自拍视频在线观看一区二区| 91福利视频网站| 亚洲视频中文字幕| 欧美午夜精品理论片a级按摩| 亚洲第一福利一区| 欧美一区二区三区免费大片| 老司机免费视频一区二区三区| xnxx国产精品| 大尺度一区二区| 日韩美女精品在线| 91视频xxxx| 综合欧美一区二区三区| 91丨九色丨蝌蚪富婆spa| 亚洲另类中文字| 欧美日韩在线播| 蜜臀91精品一区二区三区| 精品国产精品一区二区夜夜嗨| 国产精品一级在线| 亚洲欧美欧美一区二区三区| 欧美艳星brazzers| 蜜桃久久久久久| 国产欧美精品一区| 色综合久久六月婷婷中文字幕| 午夜精品一区二区三区电影天堂| 日韩精品中文字幕在线一区| 成人免费不卡视频| 一区二区三区久久久| 日韩一二三区视频| 粉嫩嫩av羞羞动漫久久久| 自拍av一区二区三区| 在线电影一区二区三区| 国产精品一品视频| 亚洲一区二区三区在线播放| 日韩欧美一级精品久久| 成人综合在线视频| 亚洲成av人影院| 久久嫩草精品久久久精品一| 一本色道综合亚洲| 精品午夜久久福利影院| 亚洲视频一区在线| 日韩一区二区三区电影| 波多野结衣一区二区三区| 调教+趴+乳夹+国产+精品| 久久久不卡影院| 欧美日韩国产小视频在线观看| 国产成人av影院| 亚洲三级电影网站| 日韩三级.com| 欧美在线视频你懂得| 国产精品99久久久久久宅男| 亚洲成人动漫av| 国产日韩欧美高清| 欧美高清性hdvideosex| 成人黄色大片在线观看| 蜜桃免费网站一区二区三区| 亚洲精选视频在线| 精品成人在线观看| 欧美三区在线视频| 成人黄色av网站在线| 日韩成人一级片| 一区二区三区四区精品在线视频| 精品国产在天天线2019| 欧美午夜理伦三级在线观看| 高清在线不卡av| 理论电影国产精品| 亚洲女性喷水在线观看一区| 欧美日韩另类一区| 99热精品一区二区| 国产成人精品一区二| 久久99在线观看| 人人爽香蕉精品| 一区二区三区欧美日| 中文字幕亚洲精品在线观看| 日韩一区二区在线观看| 在线观看国产日韩| 国产成人av影院| 国产精品自拍在线| 久久国产麻豆精品| 日韩av中文字幕一区二区| 综合久久久久久| 91精品一区二区三区在线观看| 99精品欧美一区| www.亚洲在线| 国产sm精品调教视频网站| 国产综合色产在线精品| 久久精品99国产国产精| 美女mm1313爽爽久久久蜜臀| 午夜伦欧美伦电影理论片| 亚洲综合色成人| 一个色在线综合| 亚洲免费观看在线视频| 国产三级精品三级| 日韩欧美国产一二三区| 日韩视频在线永久播放| 欧美不卡一区二区三区四区| 日韩欧美国产系列| 精品日韩一区二区三区 |