You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/08/05 21:10:11 UTC

svn commit: r1510665 [13/26] - in /tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi: ./ javax/ javax/servlet/ javax/servlet/annotation/ javax/servlet/descriptor/ javax/servlet/http/ resources/

Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponse.html
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponse.html?rev=1510665&view=auto
==============================================================================
--- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponse.html (added)
+++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponse.html Mon Aug  5 19:10:09 2013
@@ -0,0 +1,680 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_25) on Thu Aug 01 21:15:51 BST 2013 -->
+<title>ServletResponse (Servlet 3.0 API Documentation - Apache Tomcat 8.0.0-RC1)</title>
+<meta name="date" content="2013-08-01">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ServletResponse (Servlet 3.0 API Documentation - Apache Tomcat 8.0.0-RC1)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-all.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+<div class="aboutLanguage"><em><b>Servlet 3.0 - Apache Tomcat 8.0.0-RC1</b></em></div>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../javax/servlet/ServletRequestWrapper.html" title="class in javax.servlet"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../javax/servlet/ServletResponseWrapper.html" title="class in javax.servlet"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?javax/servlet/ServletResponse.html" target="_top">Frames</a></li>
+<li><a href="ServletResponse.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">javax.servlet</div>
+<h2 title="Interface ServletResponse" class="title">Interface ServletResponse</h2>
+</div>
+<div class="contentContainer">
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Known Subinterfaces:</dt>
+<dd><a href="../../javax/servlet/http/HttpServletResponse.html" title="interface in javax.servlet.http">HttpServletResponse</a></dd>
+</dl>
+<dl>
+<dt>All Known Implementing Classes:</dt>
+<dd><a href="../../javax/servlet/http/HttpServletResponseWrapper.html" title="class in javax.servlet.http">HttpServletResponseWrapper</a>, <a href="../../javax/servlet/ServletResponseWrapper.html" title="class in javax.servlet">ServletResponseWrapper</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public interface <span class="strong">ServletResponse</span></pre>
+<div class="block">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
+ <a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet"><code>ServletOutputStream</code></a> returned by <a href="../../javax/servlet/ServletResponse.html#getOutputStream()"><code>getOutputStream()</code></a>. To send
+ character data, use the <code>PrintWriter</code> object returned by
+ <a href="../../javax/servlet/ServletResponse.html#getWriter()"><code>getWriter()</code></a>. 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
+ <a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a> and <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> methods, or
+ implicitly using the <a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a> 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.</div>
+<dl><dt><span class="strong">Version:</span></dt>
+  <dd>$Version$</dd>
+<dt><span class="strong">Author:</span></dt>
+  <dd>Various</dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet"><code>ServletOutputStream</code></a></dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#flushBuffer()">flushBuffer</a></strong>()</code>
+<div class="block">Forces any content in the buffer to be written to the client.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#getBufferSize()">getBufferSize</a></strong>()</code>
+<div class="block">Returns the actual buffer size used for the response.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#getCharacterEncoding()">getCharacterEncoding</a></strong>()</code>
+<div class="block">Returns the name of the character encoding (MIME charset) used for the
+ body sent in this response.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#getContentType()">getContentType</a></strong>()</code>
+<div class="block">Returns the content type used for the MIME body sent in this response.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.util.Locale</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#getLocale()">getLocale</a></strong>()</code>
+<div class="block">Returns the locale specified for this response using the
+ <a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a> method.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet">ServletOutputStream</a></code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#getOutputStream()">getOutputStream</a></strong>()</code>
+<div class="block">Returns a <a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet"><code>ServletOutputStream</code></a> suitable for writing binary data in
+ the response.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.io.PrintWriter</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#getWriter()">getWriter</a></strong>()</code>
+<div class="block">Returns a <code>PrintWriter</code> object that can send character text to
+ the client.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#isCommitted()">isCommitted</a></strong>()</code>
+<div class="block">Returns a boolean indicating if the response has been committed.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#reset()">reset</a></strong>()</code>
+<div class="block">Clears any data that exists in the buffer as well as the status code and
+ headers.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#resetBuffer()">resetBuffer</a></strong>()</code>
+<div class="block">Clears the content of the underlying buffer in the response without
+ clearing headers or status code.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)">setBufferSize</a></strong>(int&nbsp;size)</code>
+<div class="block">Sets the preferred buffer size for the body of the response.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</a></strong>(java.lang.String&nbsp;charset)</code>
+<div class="block">Sets the character encoding (MIME charset) of the response being sent to
+ the client, for example, to UTF-8.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#setContentLength(int)">setContentLength</a></strong>(int&nbsp;len)</code>
+<div class="block">Sets the length of the content body in the response In HTTP servlets,
+ this method sets the HTTP Content-Length header.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#setContentLengthLong(long)">setContentLengthLong</a></strong>(long&nbsp;length)</code>
+<div class="block">TODO SERVLET 3.1</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)">setContentType</a></strong>(java.lang.String&nbsp;type)</code>
+<div class="block">Sets the content type of the response being sent to the client, if the
+ response has not been committed yet.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)">setLocale</a></strong>(java.util.Locale&nbsp;loc)</code>
+<div class="block">Sets the locale of the response, if the response has not been committed
+ yet.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getCharacterEncoding()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCharacterEncoding</h4>
+<pre>java.lang.String&nbsp;getCharacterEncoding()</pre>
+<div class="block">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 <a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a> or
+ <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> methods, or implicitly using the
+ <a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a> 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.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>a <code>String</code> specifying the name of the character
+         encoding, for example, <code>UTF-8</code></dd></dl>
+</li>
+</ul>
+<a name="getContentType()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getContentType</h4>
+<pre>java.lang.String&nbsp;getContentType()</pre>
+<div class="block">Returns the content type used for the MIME body sent in this response.
+ The content type proper must have been specified using
+ <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> 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 <a href="../../javax/servlet/ServletResponse.html#getCharacterEncoding()"><code>getCharacterEncoding()</code></a>, the charset
+ parameter is included in the string returned. If no character encoding
+ has been specified, the charset parameter is omitted.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>a <code>String</code> specifying the content type, for example,
+         <code>text/html; charset=UTF-8</code>, or null</dd><dt><span class="strong">Since:</span></dt>
+  <dd>2.4</dd></dl>
+</li>
+</ul>
+<a name="getOutputStream()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getOutputStream</h4>
+<pre><a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet">ServletOutputStream</a>&nbsp;getOutputStream()
+                                    throws java.io.IOException</pre>
+<div class="block">Returns a <a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet"><code>ServletOutputStream</code></a> 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 <a href="../../javax/servlet/ServletResponse.html#getWriter()"><code>getWriter()</code></a> may be called to write the body, not
+ both.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>a <a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet"><code>ServletOutputStream</code></a> for writing binary data</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalStateException</code> - if the <code>getWriter</code> method has been called on
+                this response</dd>
+<dd><code>java.io.IOException</code> - if an input or output exception occurred</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getWriter()"><code>getWriter()</code></a></dd></dl>
+</li>
+</ul>
+<a name="getWriter()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getWriter</h4>
+<pre>java.io.PrintWriter&nbsp;getWriter()
+                              throws java.io.IOException</pre>
+<div class="block">Returns a <code>PrintWriter</code> object that can send character text to
+ the client. The <code>PrintWriter</code> uses the character encoding
+ returned by <a href="../../javax/servlet/ServletResponse.html#getCharacterEncoding()"><code>getCharacterEncoding()</code></a>. 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 <a href="../../javax/servlet/ServletResponse.html#getOutputStream()"><code>getOutputStream()</code></a> may be called to write the
+ body, not both.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>a <code>PrintWriter</code> object that can return character data
+         to the client</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.UnsupportedEncodingException</code> - if the character encoding returned by
+                <code>getCharacterEncoding</code> cannot be used</dd>
+<dd><code>java.lang.IllegalStateException</code> - if the <code>getOutputStream</code> method has already
+                been called for this response object</dd>
+<dd><code>java.io.IOException</code> - if an input or output exception occurred</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getOutputStream()"><code>getOutputStream()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a></dd></dl>
+</li>
+</ul>
+<a name="setCharacterEncoding(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCharacterEncoding</h4>
+<pre>void&nbsp;setCharacterEncoding(java.lang.String&nbsp;charset)</pre>
+<div class="block">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 <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> or <a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a>, this method
+ overrides it. Calling <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> 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.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>charset</code> - a String specifying only the character set defined by IANA
+            Character Sets
+            (http://www.iana.org/assignments/character-sets)</dd><dt><span class="strong">Since:</span></dt>
+  <dd>2.4</dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>#setLocale</code></a></dd></dl>
+</li>
+</ul>
+<a name="setContentLength(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setContentLength</h4>
+<pre>void&nbsp;setContentLength(int&nbsp;len)</pre>
+<div class="block">Sets the length of the content body in the response In HTTP servlets,
+ this method sets the HTTP Content-Length header.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>len</code> - an integer specifying the length of the content being returned
+            to the client; sets the Content-Length header</dd></dl>
+</li>
+</ul>
+<a name="setContentLengthLong(long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setContentLengthLong</h4>
+<pre>void&nbsp;setContentLengthLong(long&nbsp;length)</pre>
+<div class="block">TODO SERVLET 3.1</div>
+</li>
+</ul>
+<a name="setContentType(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setContentType</h4>
+<pre>void&nbsp;setContentType(java.lang.String&nbsp;type)</pre>
+<div class="block">Sets the content type of the response being sent to the client, if the
+ response has not been committed yet. The given content type may include a
+ character encoding specification, for example,
+ <code>text/html;charset=UTF-8</code>. The response's character encoding
+ is only set from the given content type if this method is called before
+ <code>getWriter</code> is called.
+ <p>
+ This method may be called repeatedly to change content type and character
+ encoding. This method has no effect if called after the response has been
+ committed. It does not set the response's character encoding if it is
+ called after <code>getWriter</code> has been called or after the response
+ has been committed.
+ <p>
+ Containers must communicate the content type and 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
+ <code>Content-Type</code> header is used.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - a <code>String</code> specifying the MIME type of the content</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getOutputStream()"><code>getOutputStream()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getWriter()"><code>getWriter()</code></a></dd></dl>
+</li>
+</ul>
+<a name="setBufferSize(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBufferSize</h4>
+<pre>void&nbsp;setBufferSize(int&nbsp;size)</pre>
+<div class="block">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 or the response object has been committed,
+ this method throws an <code>IllegalStateException</code>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the preferred buffer size</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalStateException</code> - if this method is called after content has been written</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="getBufferSize()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getBufferSize</h4>
+<pre>int&nbsp;getBufferSize()</pre>
+<div class="block">Returns the actual buffer size used for the response. If no buffering is
+ used, this method returns 0.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>the actual buffer size used</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="flushBuffer()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>flushBuffer</h4>
+<pre>void&nbsp;flushBuffer()
+                 throws java.io.IOException</pre>
+<div class="block">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.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="resetBuffer()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>resetBuffer</h4>
+<pre>void&nbsp;resetBuffer()</pre>
+<div class="block">Clears the content of the underlying buffer in the response without
+ clearing headers or status code. If the response has been committed, this
+ method throws an <code>IllegalStateException</code>.</div>
+<dl><dt><span class="strong">Since:</span></dt>
+  <dd>2.3</dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="isCommitted()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isCommitted</h4>
+<pre>boolean&nbsp;isCommitted()</pre>
+<div class="block">Returns a boolean indicating if the response has been committed. A
+ committed response has already had its status code and headers written.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>a boolean indicating if the response has been committed</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="reset()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>reset</h4>
+<pre>void&nbsp;reset()</pre>
+<div class="block">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>.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalStateException</code> - if the response has already been committed</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>isCommitted()</code></a></dd></dl>
+</li>
+</ul>
+<a name="setLocale(java.util.Locale)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setLocale</h4>
+<pre>void&nbsp;setLocale(java.util.Locale&nbsp;loc)</pre>
+<div class="block">Sets the locale of the response, if the response has not been committed
+ yet. It also sets the response's character encoding appropriately for the
+ locale, if the character encoding has not been explicitly set using
+ <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> or <a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a>,
+ <code>getWriter</code> hasn't been called yet, and the response hasn't
+ been committed yet. If the deployment descriptor contains a
+ <code>locale-encoding-mapping-list</code> element, and that element
+ provides a mapping for the given locale, that mapping is used. Otherwise,
+ the mapping from locale to character encoding is container dependent.
+ <p>
+ This method may be called repeatedly to change locale and character
+ encoding. The method has no effect if called after the response has been
+ committed. It does not set the response's character encoding if it is
+ called after <a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a> has been called with a charset
+ specification, after <a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a> has been called, after
+ <code>getWriter</code> has been called, or after the response has been
+ committed.
+ <p>
+ Containers must communicate the locale and 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 locale is communicated via
+ the <code>Content-Language</code> header, the character encoding 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.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>loc</code> - the locale of the response</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getLocale()"><code>getLocale()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>setContentType(java.lang.String)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>setCharacterEncoding(java.lang.String)</code></a></dd></dl>
+</li>
+</ul>
+<a name="getLocale()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getLocale</h4>
+<pre>java.util.Locale&nbsp;getLocale()</pre>
+<div class="block">Returns the locale specified for this response using the
+ <a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a> method. Calls made to <code>setLocale</code> after the
+ response is committed have no effect. If no locale has been specified,
+ the container's default locale is returned.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>setLocale(java.util.Locale)</code></a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-all.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+<div class="aboutLanguage"><em><b>Servlet 3.0 - Apache Tomcat 8.0.0-RC1</b></em></div>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../javax/servlet/ServletRequestWrapper.html" title="class in javax.servlet"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../javax/servlet/ServletResponseWrapper.html" title="class in javax.servlet"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?javax/servlet/ServletResponse.html" target="_top">Frames</a></li>
+<li><a href="ServletResponse.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2000-2013 Apache Software Foundation. All Rights Reserved.</small></p>
+</body>
+</html>

Propchange: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponse.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html?rev=1510665&view=auto
==============================================================================
--- tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html (added)
+++ tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html Mon Aug  5 19:10:09 2013
@@ -0,0 +1,728 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc (version 1.7.0_25) on Thu Aug 01 21:15:51 BST 2013 -->
+<title>ServletResponseWrapper (Servlet 3.0 API Documentation - Apache Tomcat 8.0.0-RC1)</title>
+<meta name="date" content="2013-08-01">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="ServletResponseWrapper (Servlet 3.0 API Documentation - Apache Tomcat 8.0.0-RC1)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-all.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+<div class="aboutLanguage"><em><b>Servlet 3.0 - Apache Tomcat 8.0.0-RC1</b></em></div>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../javax/servlet/ServletSecurityElement.html" title="class in javax.servlet"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?javax/servlet/ServletResponseWrapper.html" target="_top">Frames</a></li>
+<li><a href="ServletResponseWrapper.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">javax.servlet</div>
+<h2 title="Class ServletResponseWrapper" class="title">Class ServletResponseWrapper</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>javax.servlet.ServletResponseWrapper</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></dd>
+</dl>
+<dl>
+<dt>Direct Known Subclasses:</dt>
+<dd><a href="../../javax/servlet/http/HttpServletResponseWrapper.html" title="class in javax.servlet.http">HttpServletResponseWrapper</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">ServletResponseWrapper</span>
+extends java.lang.Object
+implements <a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></pre>
+<div class="block">Provides a convenient implementation of the ServletResponse interface that
+ can be subclassed by developers wishing to adapt the response from a Servlet.
+ This class implements the Wrapper or Decorator pattern. Methods default to
+ calling through to the wrapped response object.</div>
+<dl><dt><span class="strong">Since:</span></dt>
+  <dd>v 2.3</dd>
+<dt><span class="strong">Version:</span></dt>
+  <dd>$Version$</dd>
+<dt><span class="strong">Author:</span></dt>
+  <dd>Various</dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet"><code>ServletResponse</code></a></dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#ServletResponseWrapper(javax.servlet.ServletResponse)">ServletResponseWrapper</a></strong>(<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;response)</code>
+<div class="block">Creates a ServletResponse adaptor wrapping the given response object.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#flushBuffer()">flushBuffer</a></strong>()</code>
+<div class="block">The default behavior of this method is to call flushBuffer() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getBufferSize()">getBufferSize</a></strong>()</code>
+<div class="block">The default behavior of this method is to return getBufferSize() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getCharacterEncoding()">getCharacterEncoding</a></strong>()</code>
+<div class="block">The default behavior of this method is to return getCharacterEncoding()
+ on the wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getContentType()">getContentType</a></strong>()</code>
+<div class="block">The default behavior of this method is to return getContentType() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.util.Locale</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getLocale()">getLocale</a></strong>()</code>
+<div class="block">The default behavior of this method is to return getLocale() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet">ServletOutputStream</a></code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getOutputStream()">getOutputStream</a></strong>()</code>
+<div class="block">The default behavior of this method is to return getOutputStream() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getResponse()">getResponse</a></strong>()</code>
+<div class="block">Return the wrapped ServletResponse object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.io.PrintWriter</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#getWriter()">getWriter</a></strong>()</code>
+<div class="block">The default behavior of this method is to return getWriter() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#isCommitted()">isCommitted</a></strong>()</code>
+<div class="block">The default behavior of this method is to return isCommitted() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#isWrapperFor(java.lang.Class)">isWrapperFor</a></strong>(java.lang.Class&lt;?&gt;&nbsp;wrappedType)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#isWrapperFor(javax.servlet.ServletResponse)">isWrapperFor</a></strong>(<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;wrapped)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#reset()">reset</a></strong>()</code>
+<div class="block">The default behavior of this method is to call reset() on the wrapped
+ response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#resetBuffer()">resetBuffer</a></strong>()</code>
+<div class="block">The default behavior of this method is to call resetBuffer() on the
+ wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setBufferSize(int)">setBufferSize</a></strong>(int&nbsp;size)</code>
+<div class="block">The default behavior of this method is to call setBufferSize(int size) on
+ the wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</a></strong>(java.lang.String&nbsp;charset)</code>
+<div class="block">The default behavior of this method is to call
+ setCharacterEncoding(String charset) on the wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setContentLength(int)">setContentLength</a></strong>(int&nbsp;len)</code>
+<div class="block">The default behavior of this method is to call setContentLength(int len)
+ on the wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setContentLengthLong(long)">setContentLengthLong</a></strong>(long&nbsp;length)</code>
+<div class="block">The default behavior of this method is to call setContentLength(long len)
+ on the wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setContentType(java.lang.String)">setContentType</a></strong>(java.lang.String&nbsp;type)</code>
+<div class="block">The default behavior of this method is to call setContentType(String
+ type) on the wrapped response object.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setLocale(java.util.Locale)">setLocale</a></strong>(java.util.Locale&nbsp;loc)</code>
+<div class="block">The default behavior of this method is to call setLocale(Locale loc) on
+ the wrapped response object.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../javax/servlet/ServletResponseWrapper.html#setResponse(javax.servlet.ServletResponse)">setResponse</a></strong>(<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;response)</code>
+<div class="block">Sets the response being wrapped.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="ServletResponseWrapper(javax.servlet.ServletResponse)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>ServletResponseWrapper</h4>
+<pre>public&nbsp;ServletResponseWrapper(<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;response)</pre>
+<div class="block">Creates a ServletResponse adaptor wrapping the given response object.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalArgumentException</code> - if the response is null.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getResponse()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getResponse</h4>
+<pre>public&nbsp;<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;getResponse()</pre>
+<div class="block">Return the wrapped ServletResponse object.</div>
+</li>
+</ul>
+<a name="setResponse(javax.servlet.ServletResponse)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setResponse</h4>
+<pre>public&nbsp;void&nbsp;setResponse(<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;response)</pre>
+<div class="block">Sets the response being wrapped.</div>
+<dl><dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalArgumentException</code> - if the response is null.</dd></dl>
+</li>
+</ul>
+<a name="setCharacterEncoding(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCharacterEncoding</h4>
+<pre>public&nbsp;void&nbsp;setCharacterEncoding(java.lang.String&nbsp;charset)</pre>
+<div class="block">The default behavior of this method is to call
+ setCharacterEncoding(String charset) on the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>charset</code> - a String specifying only the character set defined by IANA
+            Character Sets
+            (http://www.iana.org/assignments/character-sets)</dd><dt><span class="strong">Since:</span></dt>
+  <dd>2.4</dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>#setLocale</code></a></dd></dl>
+</li>
+</ul>
+<a name="getCharacterEncoding()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCharacterEncoding</h4>
+<pre>public&nbsp;java.lang.String&nbsp;getCharacterEncoding()</pre>
+<div class="block">The default behavior of this method is to return getCharacterEncoding()
+ on the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#getCharacterEncoding()">getCharacterEncoding</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>a <code>String</code> specifying the name of the character
+         encoding, for example, <code>UTF-8</code></dd></dl>
+</li>
+</ul>
+<a name="getOutputStream()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getOutputStream</h4>
+<pre>public&nbsp;<a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet">ServletOutputStream</a>&nbsp;getOutputStream()
+                                    throws java.io.IOException</pre>
+<div class="block">The default behavior of this method is to return getOutputStream() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#getOutputStream()">getOutputStream</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>a <a href="../../javax/servlet/ServletOutputStream.html" title="class in javax.servlet"><code>ServletOutputStream</code></a> for writing binary data</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code> - if an input or output exception occurred</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getWriter()"><code>ServletResponse.getWriter()</code></a></dd></dl>
+</li>
+</ul>
+<a name="getWriter()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getWriter</h4>
+<pre>public&nbsp;java.io.PrintWriter&nbsp;getWriter()
+                              throws java.io.IOException</pre>
+<div class="block">The default behavior of this method is to return getWriter() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#getWriter()">getWriter</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>a <code>PrintWriter</code> object that can return character data
+         to the client</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.UnsupportedEncodingException</code> - if the character encoding returned by
+                <code>getCharacterEncoding</code> cannot be used</dd>
+<dd><code>java.io.IOException</code> - if an input or output exception occurred</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getOutputStream()"><code>ServletResponse.getOutputStream()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>ServletResponse.setCharacterEncoding(java.lang.String)</code></a></dd></dl>
+</li>
+</ul>
+<a name="setContentLength(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setContentLength</h4>
+<pre>public&nbsp;void&nbsp;setContentLength(int&nbsp;len)</pre>
+<div class="block">The default behavior of this method is to call setContentLength(int len)
+ on the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#setContentLength(int)">setContentLength</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>len</code> - an integer specifying the length of the content being returned
+            to the client; sets the Content-Length header</dd></dl>
+</li>
+</ul>
+<a name="setContentLengthLong(long)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setContentLengthLong</h4>
+<pre>public&nbsp;void&nbsp;setContentLengthLong(long&nbsp;length)</pre>
+<div class="block">The default behavior of this method is to call setContentLength(long len)
+ on the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#setContentLengthLong(long)">setContentLengthLong</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+</dl>
+</li>
+</ul>
+<a name="setContentType(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setContentType</h4>
+<pre>public&nbsp;void&nbsp;setContentType(java.lang.String&nbsp;type)</pre>
+<div class="block">The default behavior of this method is to call setContentType(String
+ type) on the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)">setContentType</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - a <code>String</code> specifying the MIME type of the content</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>ServletResponse.setLocale(java.util.Locale)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>ServletResponse.setCharacterEncoding(java.lang.String)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getOutputStream()"><code>ServletResponse.getOutputStream()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getWriter()"><code>ServletResponse.getWriter()</code></a></dd></dl>
+</li>
+</ul>
+<a name="getContentType()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getContentType</h4>
+<pre>public&nbsp;java.lang.String&nbsp;getContentType()</pre>
+<div class="block">The default behavior of this method is to return getContentType() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#getContentType()">getContentType</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>a <code>String</code> specifying the content type, for example,
+         <code>text/html; charset=UTF-8</code>, or null</dd><dt><span class="strong">Since:</span></dt>
+  <dd>2.4</dd></dl>
+</li>
+</ul>
+<a name="setBufferSize(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setBufferSize</h4>
+<pre>public&nbsp;void&nbsp;setBufferSize(int&nbsp;size)</pre>
+<div class="block">The default behavior of this method is to call setBufferSize(int size) on
+ the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)">setBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the preferred buffer size</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>ServletResponse.getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>ServletResponse.flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>ServletResponse.isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>ServletResponse.reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="getBufferSize()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getBufferSize</h4>
+<pre>public&nbsp;int&nbsp;getBufferSize()</pre>
+<div class="block">The default behavior of this method is to return getBufferSize() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#getBufferSize()">getBufferSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>the actual buffer size used</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>ServletResponse.setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>ServletResponse.flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>ServletResponse.isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>ServletResponse.reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="flushBuffer()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>flushBuffer</h4>
+<pre>public&nbsp;void&nbsp;flushBuffer()
+                 throws java.io.IOException</pre>
+<div class="block">The default behavior of this method is to call flushBuffer() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#flushBuffer()">flushBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.io.IOException</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>ServletResponse.setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>ServletResponse.getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>ServletResponse.isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>ServletResponse.reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="isCommitted()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isCommitted</h4>
+<pre>public&nbsp;boolean&nbsp;isCommitted()</pre>
+<div class="block">The default behavior of this method is to return isCommitted() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#isCommitted()">isCommitted</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Returns:</span></dt><dd>a boolean indicating if the response has been committed</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>ServletResponse.setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>ServletResponse.getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>ServletResponse.flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>ServletResponse.reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="reset()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>reset</h4>
+<pre>public&nbsp;void&nbsp;reset()</pre>
+<div class="block">The default behavior of this method is to call reset() on the wrapped
+ response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#reset()">reset</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>ServletResponse.setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>ServletResponse.getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#flushBuffer()"><code>ServletResponse.flushBuffer()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>ServletResponse.isCommitted()</code></a></dd></dl>
+</li>
+</ul>
+<a name="resetBuffer()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>resetBuffer</h4>
+<pre>public&nbsp;void&nbsp;resetBuffer()</pre>
+<div class="block">The default behavior of this method is to call resetBuffer() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#resetBuffer()">resetBuffer</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setBufferSize(int)"><code>ServletResponse.setBufferSize(int)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#getBufferSize()"><code>ServletResponse.getBufferSize()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#isCommitted()"><code>ServletResponse.isCommitted()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#reset()"><code>ServletResponse.reset()</code></a></dd></dl>
+</li>
+</ul>
+<a name="setLocale(java.util.Locale)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setLocale</h4>
+<pre>public&nbsp;void&nbsp;setLocale(java.util.Locale&nbsp;loc)</pre>
+<div class="block">The default behavior of this method is to call setLocale(Locale loc) on
+ the wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)">setLocale</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>loc</code> - the locale of the response</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#getLocale()"><code>ServletResponse.getLocale()</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setContentType(java.lang.String)"><code>ServletResponse.setContentType(java.lang.String)</code></a>, 
+<a href="../../javax/servlet/ServletResponse.html#setCharacterEncoding(java.lang.String)"><code>ServletResponse.setCharacterEncoding(java.lang.String)</code></a></dd></dl>
+</li>
+</ul>
+<a name="getLocale()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLocale</h4>
+<pre>public&nbsp;java.util.Locale&nbsp;getLocale()</pre>
+<div class="block">The default behavior of this method is to return getLocale() on the
+ wrapped response object.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../javax/servlet/ServletResponse.html#getLocale()">getLocale</a></code>&nbsp;in interface&nbsp;<code><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a></code></dd>
+<dt><span class="strong">See Also:</span></dt><dd><a href="../../javax/servlet/ServletResponse.html#setLocale(java.util.Locale)"><code>ServletResponse.setLocale(java.util.Locale)</code></a></dd></dl>
+</li>
+</ul>
+<a name="isWrapperFor(javax.servlet.ServletResponse)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isWrapperFor</h4>
+<pre>public&nbsp;boolean&nbsp;isWrapperFor(<a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet">ServletResponse</a>&nbsp;wrapped)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wrapped</code> - </dd><dt><span class="strong">Since:</span></dt>
+  <dd>Servlet 3.0 TODO SERVLET3 - Add comments</dd></dl>
+</li>
+</ul>
+<a name="isWrapperFor(java.lang.Class)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>isWrapperFor</h4>
+<pre>public&nbsp;boolean&nbsp;isWrapperFor(java.lang.Class&lt;?&gt;&nbsp;wrappedType)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>wrappedType</code> - </dd><dt><span class="strong">Since:</span></dt>
+  <dd>Servlet 3.0 TODO SERVLET3 - Add comments</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-all.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+<div class="aboutLanguage"><em><b>Servlet 3.0 - Apache Tomcat 8.0.0-RC1</b></em></div>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../javax/servlet/ServletResponse.html" title="interface in javax.servlet"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../javax/servlet/ServletSecurityElement.html" title="class in javax.servlet"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?javax/servlet/ServletResponseWrapper.html" target="_top">Frames</a></li>
+<li><a href="ServletResponseWrapper.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2000-2013 Apache Software Foundation. All Rights Reserved.</small></p>
+</body>
+</html>

Propchange: tomcat/site/trunk/docs/tomcat-8.0-doc/servletapi/javax/servlet/ServletResponseWrapper.html
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org