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

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

?? servletresponse.java

?? windows下的JAVA虛擬機
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/** Copyright 2004 The Apache Software Foundation** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.* You may obtain a copy of the License at**     http://www.apache.org/licenses/LICENSE-2.0** Unless required by applicable law or agreed to in writing, software* distributed under the License is distributed on an "AS IS" BASIS,* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.* See the License for the specific language governing permissions and* limitations under the License.*/package javax.servlet;import java.io.IOException;import java.io.PrintWriter;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 * explicitly using the {@link #setCharacterEncoding} and * {@link #setContentType} methods, or implicitly * using the {@link #setLocale} method. * Explicit specifications take precedence over * implicit specifications. If no charset is specified, ISO-8859-1 will be * used. The <code>setCharacterEncoding</code>, * <code>setContentType</code>, or <code>setLocale</code> method must * be called before <code>getWriter</code> and before committing * the response for the character encoding to be used. *  * <p>See the Internet RFCs such as  * <a href="http://www.ietf.org/rfc/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 character encoding (MIME charset)     * used for the body sent in this response.     * The character encoding may have been specified explicitly     * using the {@link #setCharacterEncoding} or     * {@link #setContentType} methods, or implicitly using the     * {@link #setLocale} method. Explicit specifications take     * precedence over implicit specifications. Calls made     * to these methods after <code>getWriter</code> has been     * called or after the response has been committed have no     * effect on the character encoding. If no character encoding     * has been specified, <code>ISO-8859-1</code> is returned.     * <p>See RFC 2047 (http://www.ietf.org/rfc/rfc2047.txt)     * for more information about character encoding and MIME.     *     * @return		a <code>String</code> specifying the     *			name of the character encoding, for     *			example, <code>UTF-8</code>     *     */      public String getCharacterEncoding();            /**     * Returns the content type used for the MIME body     * sent in this response. The content type proper must     * have been specified using {@link #setContentType}     * before the response is committed. If no content type     * has been specified, this method returns null.     * If a content type has been specified and a     * character encoding has been explicitly or implicitly     * specified as described in {@link #getCharacterEncoding},     * the charset parameter is included in the string returned.     * If no character encoding has been specified, the     * charset parameter is omitted.     *     * @return		a <code>String</code> specifying the     *			content type, for example,     *			<code>text/html; charset=UTF-8</code>,     *			or null     *     * @since 2.4     */      public String getContentType();            /**     * Returns a {@link ServletOutputStream} suitable for writing binary      * data in the response. The servlet container does not encode the     * binary data.            * <p> Calling flush() on the ServletOutputStream commits the response.          * 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 <code>PrintWriter</code> uses the character     * encoding returned by {@link #getCharacterEncoding}.     * If the response's character encoding has not been     * specified as described in <code>getCharacterEncoding</code>     * (i.e., the method just returns the default value      * <code>ISO-8859-1</code>), <code>getWriter</code>     * updates it to <code>ISO-8859-1</code>.     * <p>Calling flush() on the <code>PrintWriter</code>     * commits the response.     * <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 character encoding returned     *			by <code>getCharacterEncoding</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 		#setCharacterEncoding     *     */    public PrintWriter getWriter() throws IOException;                    /**     * Sets the character encoding (MIME charset) of the response     * being sent to the client, for example, to UTF-8.     * If the character encoding has already been set by     * {@link #setContentType} or {@link #setLocale},     * this method overrides it.     * Calling {@link #setContentType} with the <code>String</code>     * of <code>text/html</code> and calling     * this method with the <code>String</code> of <code>UTF-8</code>     * is equivalent with calling     * <code>setContentType</code> with the <code>String</code> of     * <code>text/html; charset=UTF-8</code>.     * <p>This method can be called repeatedly to change the character     * encoding.     * This method has no effect if it is called after     * <code>getWriter</code> has been     * called or after the response has been committed.     * <p>Containers must communicate the character encoding used for     * the servlet response's writer to the client if the protocol     * provides a way for doing so. In the case of HTTP, the character     * encoding is communicated as part of the <code>Content-Type</code>     * header for text media types. Note that the character encoding     * cannot be communicated via HTTP headers if the servlet does not     * specify a content type; however, it is still used to encode text     * written via the servlet response's writer.     *     * @param charset 	a String specifying only the character set     * 			defined by IANA Character Sets     *			(http://www.iana.org/assignments/character-sets)     *     * @see		#setContentType     * 			#setLocale     *     * @since 2.4     *     */    public void setCharacterEncoding(String charset);            /**     * 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 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线麻豆精品观看| 亚洲第四色夜色| 国产成人免费xxxxxxxx| 亚洲精品一区二区三区四区高清| 美日韩一级片在线观看| 精品电影一区二区| 国产精品性做久久久久久| 国产精品视频第一区| 91网页版在线| 亚洲午夜三级在线| 精品国产一区二区三区不卡| 国产一区二区三区免费播放| 亚洲综合丁香婷婷六月香| 亚洲高清免费在线| 日韩欧美资源站| 国产不卡一区视频| 亚洲欧美日韩中文播放| 欧美美女直播网站| 国产一区二区精品在线观看| 自拍偷拍国产亚洲| 欧美一激情一区二区三区| 极品美女销魂一区二区三区| 国产精品国产三级国产普通话三级| 精品捆绑美女sm三区| 成av人片一区二区| 日本亚洲最大的色成网站www| 2020日本不卡一区二区视频| 9人人澡人人爽人人精品| 天天综合色天天综合色h| 久久这里只有精品首页| 色呦呦一区二区三区| 免费欧美在线视频| 18成人在线观看| 日韩小视频在线观看专区| 波多野结衣中文字幕一区二区三区 | 亚洲视频1区2区| 欧美福利视频导航| 9人人澡人人爽人人精品| 麻豆高清免费国产一区| 日韩久久一区二区| 26uuu另类欧美| 在线观看成人免费视频| 国产一区二区h| 亚洲电影视频在线| 中文字幕欧美一| 欧美精品一区二区三区在线| 欧美三区在线观看| 成人av在线电影| 久久99久久久欧美国产| 性感美女久久精品| 亚洲天堂a在线| 久久久精品国产99久久精品芒果| 中文字幕乱码日本亚洲一区二区| 欧美日本视频在线| 色吧成人激情小说| 成人国产精品免费观看| 精品无人码麻豆乱码1区2区| 亚洲一二三区在线观看| 亚洲欧美一区二区视频| 国产情人综合久久777777| 日韩欧美亚洲另类制服综合在线 | 国产精品进线69影院| 欧美成人综合网站| 67194成人在线观看| 欧美日韩色综合| 91极品视觉盛宴| 一本一本久久a久久精品综合麻豆| 国产精品69毛片高清亚洲| 精品在线观看免费| 麻豆极品一区二区三区| 免费观看在线色综合| 首页国产丝袜综合| 亚洲高清免费观看| 亚洲福利一区二区三区| 一区二区三区精品视频在线| 亚洲免费av高清| 亚洲精品欧美综合四区| 亚洲女人的天堂| 亚洲另类在线制服丝袜| 亚洲免费av在线| 亚洲综合丁香婷婷六月香| 亚洲成人免费视频| 丝袜脚交一区二区| 亚洲成av人片在线观看无码| 亚洲成av人片在线观看| 91小视频免费看| 91香蕉视频mp4| 欧美系列亚洲系列| 欧美另类高清zo欧美| 欧美一区二区三区婷婷月色| 日韩一区二区三区免费看 | 狠狠色丁香婷综合久久| 激情综合色丁香一区二区| 久久精品国产成人一区二区三区 | 不卡的av在线| 一本久道久久综合中文字幕| 在线亚洲高清视频| 欧美一区二区视频免费观看| 精品国产成人系列| 国产精品无人区| 一区二区在线观看视频| 日本亚洲欧美天堂免费| 韩国欧美一区二区| 91网上在线视频| 制服丝袜亚洲精品中文字幕| 久久久久久97三级| 亚洲免费av网站| 日韩专区欧美专区| 国产suv精品一区二区883| 99r国产精品| 91精品国产麻豆| 欧美国产综合色视频| 亚洲一区在线观看网站| 老司机免费视频一区二区| 成人午夜在线视频| 欧美亚洲动漫精品| 26uuu色噜噜精品一区| 亚洲黄色片在线观看| 免费人成黄页网站在线一区二区| 高清beeg欧美| 在线播放91灌醉迷j高跟美女| 国产日韩欧美一区二区三区乱码| 亚洲精品一二三| 国产一区二区三区视频在线播放| 91小视频免费看| 久久理论电影网| 亚洲成av人片www| 高清免费成人av| 日韩欧美色电影| 一区二区三区在线播| 国产一区久久久| 777xxx欧美| 伊人性伊人情综合网| 国产精品一区二区男女羞羞无遮挡 | 欧美日韩国产高清一区二区| 国产欧美综合在线| 免费在线观看精品| 欧洲国产伦久久久久久久| 国产蜜臀av在线一区二区三区| 亚洲成人免费视| 91成人免费网站| 中文字幕一区二区三区av| 久久国产福利国产秒拍| 欧美视频一区二区三区在线观看 | 亚洲婷婷综合色高清在线| 久久精品国产在热久久| 欧美日韩国产精品自在自线| 国产精品久久久久久久第一福利| 国产一区二区导航在线播放| 日韩一区二区三区电影| 午夜视频一区二区| 欧美午夜电影一区| 亚洲精品国产视频| 91老师国产黑色丝袜在线| 欧美国产禁国产网站cc| 国产一区免费电影| 婷婷六月综合网| 91黄色激情网站| 亚洲精品伦理在线| 99久久综合精品| 日韩一区日韩二区| 成人免费的视频| 国产情人综合久久777777| 韩国v欧美v亚洲v日本v| 日韩欧美成人一区二区| 免费在线观看一区二区三区| 欧美一三区三区四区免费在线看| 天天色综合天天| 8v天堂国产在线一区二区| 日韩电影免费在线| 日韩一区二区三区高清免费看看| 奇米精品一区二区三区在线观看一 | 午夜精品免费在线| 欧美久久高跟鞋激| 热久久久久久久| 欧美成人猛片aaaaaaa| 美腿丝袜一区二区三区| 欧美电视剧免费全集观看| 久久99久久精品| 久久九九国产精品| 成人av中文字幕| 有码一区二区三区| 欧美日韩在线播放三区| 三级欧美韩日大片在线看| 日韩三级视频在线看| 国产成人亚洲综合a∨婷婷 | 欧美一级黄色片| 九九久久精品视频| 国产农村妇女精品| 在线视频观看一区| 美女视频网站久久| 国产精品少妇自拍| 欧美视频在线观看一区二区| 蜜臀久久久久久久| 国产人成亚洲第一网站在线播放| 91亚洲男人天堂| 首页综合国产亚洲丝袜| 久久久亚洲高清| 色综合色狠狠天天综合色| 日本亚洲免费观看|