⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 renderresponsewrapper.html.svn-base

📁 portal越来越流行了
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#resetBuffer()">resetBuffer</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>resetBuffer()</code> on the wrapped response object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#setBufferSize(int)">setBufferSize</A></B>(int&nbsp;size)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setBufferSize(size)</code> on the wrapped response object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#setContentType(java.lang.String)">setContentType</A></B>(java.lang.String&nbsp;type)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setContentType(type)</code> on the wrapped response object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#setNextPossiblePortletModes(java.util.Collection)">setNextPossiblePortletModes</A></B>(java.util.Collection&lt;<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A>&gt;&nbsp;portletModes)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setNextPossiblePortletModes()</code> on the wrapped response object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#setResponse(javax.portlet.RenderResponse)">setResponse</A></B>(<A HREF="../../../javax/portlet/RenderResponse.html" title="interface in javax.portlet">RenderResponse</A>&nbsp;response)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the response object being wrapped.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/portlet/filter/RenderResponseWrapper.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String&nbsp;title)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setTitle(title)</code> on the wrapped response object.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.portlet.filter.PortletResponseWrapper"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.portlet.filter.<A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html" title="class in javax.portlet.filter">PortletResponseWrapper</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#addProperty(javax.servlet.http.Cookie)">addProperty</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#addProperty(java.lang.String, org.w3c.dom.Element)">addProperty</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#addProperty(java.lang.String, java.lang.String)">addProperty</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#createElement(java.lang.String)">createElement</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#encodeURL(java.lang.String)">encodeURL</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#getNamespace()">getNamespace</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#setProperty(java.lang.String, java.lang.String)">setProperty</A>, <A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#setResponse(javax.portlet.PortletResponse)">setResponse</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.portlet.PortletResponse"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface javax.portlet.<A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#addProperty(javax.servlet.http.Cookie)">addProperty</A>, <A HREF="../../../javax/portlet/PortletResponse.html#addProperty(java.lang.String, org.w3c.dom.Element)">addProperty</A>, <A HREF="../../../javax/portlet/PortletResponse.html#addProperty(java.lang.String, java.lang.String)">addProperty</A>, <A HREF="../../../javax/portlet/PortletResponse.html#createElement(java.lang.String)">createElement</A>, <A HREF="../../../javax/portlet/PortletResponse.html#encodeURL(java.lang.String)">encodeURL</A>, <A HREF="../../../javax/portlet/PortletResponse.html#getNamespace()">getNamespace</A>, <A HREF="../../../javax/portlet/PortletResponse.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="RenderResponseWrapper(javax.portlet.RenderResponse)"><!-- --></A><H3>RenderResponseWrapper</H3><PRE>public <B>RenderResponseWrapper</B>(<A HREF="../../../javax/portlet/RenderResponse.html" title="interface in javax.portlet">RenderResponse</A>&nbsp;response)</PRE><DL><DD>Creates an <code>RenderResponse</code> adaptor  wrapping the given response object.<P><DL><DT><B>Parameters:</B><DD><CODE>response</CODE> - the event response to wrap<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the response is <code>null</code></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="flushBuffer()"><!-- --></A><H3>flushBuffer</H3><PRE>public void <B>flushBuffer</B>()                 throws java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>flushBuffer()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#flushBuffer()">flushBuffer</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an error occurred when writing the output<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/MimeResponse.html#setBufferSize(int)"><CODE>MimeResponse.setBufferSize(int)</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#getBufferSize()"><CODE>MimeResponse.getBufferSize()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#isCommitted()"><CODE>MimeResponse.isCommitted()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#reset()"><CODE>MimeResponse.reset()</CODE></A></DL></DD></DL><HR><A NAME="getBufferSize()"><!-- --></A><H3>getBufferSize</H3><PRE>public int <B>getBufferSize</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getBufferSize()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getBufferSize()">getBufferSize</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the actual buffer size used<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/MimeResponse.html#setBufferSize(int)"><CODE>MimeResponse.setBufferSize(int)</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#flushBuffer()"><CODE>MimeResponse.flushBuffer()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#isCommitted()"><CODE>MimeResponse.isCommitted()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#reset()"><CODE>MimeResponse.reset()</CODE></A></DL></DD></DL><HR><A NAME="getCharacterEncoding()"><!-- --></A><H3>getCharacterEncoding</H3><PRE>public java.lang.String <B>getCharacterEncoding</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getCharacterEncoding()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getCharacterEncoding()">getCharacterEncoding</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>String</code> specifying the name of the charset, for         example, <code>ISO-8859-1</code></DL></DD></DL><HR><A NAME="getContentType()"><!-- --></A><H3>getContentType</H3><PRE>public java.lang.String <B>getContentType</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getContentType()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getContentType()">getContentType</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the MIME type of the response, or <code>null</code> if no         content type is set<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/MimeResponse.html#setContentType(java.lang.String)"><CODE>MimeResponse.setContentType(java.lang.String)</CODE></A></DL></DD></DL><HR><A NAME="getLocale()"><!-- --></A><H3>getLocale</H3><PRE>public java.util.Locale <B>getLocale</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getLocale()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getLocale()">getLocale</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Locale of this response</DL></DD></DL><HR><A NAME="getPortletOutputStream()"><!-- --></A><H3>getPortletOutputStream</H3><PRE>public java.io.OutputStream <B>getPortletOutputStream</B>()                                            throws java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>getPortletOutputStream()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getPortletOutputStream()">getPortletOutputStream</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>OutputStream</code> for writing binary data<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input or output exception occurred<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/MimeResponse.html#setContentType(java.lang.String)"><CODE>MimeResponse.setContentType(java.lang.String)</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#getWriter()"><CODE>MimeResponse.getWriter()</CODE></A></DL></DD></DL><HR><A NAME="getWriter()"><!-- --></A><H3>getWriter</H3><PRE>public java.io.PrintWriter <B>getWriter</B>()                              throws java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>getWriter()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getWriter()">getWriter</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a <code>PrintWriter</code> object that can return character         data to the portal<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input or output exception occurred<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/MimeResponse.html#setContentType(java.lang.String)"><CODE>MimeResponse.setContentType(java.lang.String)</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#getPortletOutputStream()"><CODE>MimeResponse.getPortletOutputStream()</CODE></A></DL></DD></DL><HR><A NAME="isCommitted()"><!-- --></A><H3>isCommitted</H3><PRE>public boolean <B>isCommitted</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>isCommitted()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#isCommitted()">isCommitted</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a boolean indicating if the response has been committed<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/MimeResponse.html#setBufferSize(int)"><CODE>MimeResponse.setBufferSize(int)</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#getBufferSize()"><CODE>MimeResponse.getBufferSize()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#flushBuffer()"><CODE>MimeResponse.flushBuffer()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#reset()"><CODE>MimeResponse.reset()</CODE></A></DL></DD></DL><HR><A NAME="reset()"><!-- --></A><H3>reset</H3><PRE>public void <B>reset</B>()</PRE><DL><DD>The default behavior of this method is to call 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -