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

📄 resourceresponsewrapper.html.svn-base

📁 portal越来越流行了
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
</DD></DL><HR><A NAME="resetBuffer()"><!-- --></A><H3>resetBuffer</H3><PRE>public void <B>resetBuffer</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>resetBuffer()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#resetBuffer()">resetBuffer</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>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="setBufferSize(int)"><!-- --></A><H3>setBufferSize</H3><PRE>public void <B>setBufferSize</B>(int&nbsp;size)</PRE><DL><DD>The default behavior of this method is to call  <code>setBufferSize(size)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#setBufferSize(int)">setBufferSize</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>Parameters:</B><DD><CODE>size</CODE> - the preferred buffer size<DT><B>See Also:</B><DD><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#isCommitted()"><CODE>MimeResponse.isCommitted()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#reset()"><CODE>MimeResponse.reset()</CODE></A></DL></DD></DL><HR><A NAME="setContentType(java.lang.String)"><!-- --></A><H3>setContentType</H3><PRE>public void <B>setContentType</B>(java.lang.String&nbsp;type)</PRE><DL><DD>The default behavior of this method is to call  <code>setContentType(type)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#setContentType(java.lang.String)">setContentType</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>Parameters:</B><DD><CODE>type</CODE> - the content MIME type<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/PortletRequest.html#getResponseContentTypes()"><CODE>PortletRequest.getResponseContentTypes()</CODE></A>, <A HREF="../../../javax/portlet/MimeResponse.html#getContentType()"><CODE>MimeResponse.getContentType()</CODE></A></DL></DD></DL><HR><A NAME="getCacheControl()"><!-- --></A><H3>getCacheControl</H3><PRE>public <A HREF="../../../javax/portlet/CacheControl.html" title="interface in javax.portlet">CacheControl</A> <B>getCacheControl</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getCacheControl()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#getCacheControl()">getCacheControl</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>Cache control for the current response.</DL></DD></DL><HR><A NAME="setCharacterEncoding(java.lang.String)"><!-- --></A><H3>setCharacterEncoding</H3><PRE>public void <B>setCharacterEncoding</B>(java.lang.String&nbsp;charset)</PRE><DL><DD>The default behavior of this method is to call  <code>setCharacterEncoding(String charset)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceResponse.html#setCharacterEncoding(java.lang.String)">setCharacterEncoding</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>charset</CODE> - a String specifying only the character set defined by                 IANA Character Sets (http://www.iana.org/assignments/character-sets)</DL></DD></DL><HR><A NAME="setLocale(java.util.Locale)"><!-- --></A><H3>setLocale</H3><PRE>public void <B>setLocale</B>(java.util.Locale&nbsp;loc)</PRE><DL><DD>The default behavior of this method is to call  <code>setLocale(Locale loc)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceResponse.html#setLocale(java.util.Locale)">setLocale</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>loc</CODE> - the new locale of the response</DL></DD></DL><HR><A NAME="setContentLength(int)"><!-- --></A><H3>setContentLength</H3><PRE>public void <B>setContentLength</B>(int&nbsp;len)</PRE><DL><DD>The default behavior of this method is to call  <code>setContentLength()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceResponse.html#setContentLength(int)">setContentLength</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>len</CODE> - an integer specifying the length of the content being returned</DL></DD></DL><HR><A NAME="getResponse()"><!-- --></A><H3>getResponse</H3><PRE>public <A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A> <B>getResponse</B>()</PRE><DL><DD>Return the wrapped response object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html#getResponse()">getResponse</A></CODE> in class <CODE><A HREF="../../../javax/portlet/filter/PortletResponseWrapper.html" title="class in javax.portlet.filter">PortletResponseWrapper</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the wrapped response</DL></DD></DL><HR><A NAME="setResponse(javax.portlet.ResourceResponse)"><!-- --></A><H3>setResponse</H3><PRE>public void <B>setResponse</B>(<A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A>&nbsp;response)</PRE><DL><DD>Sets the response object being wrapped.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>response</CODE> - the response to set<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the response is null.</DL></DD></DL><HR><A NAME="createActionURL()"><!-- --></A><H3>createActionURL</H3><PRE>public <A HREF="../../../javax/portlet/PortletURL.html" title="interface in javax.portlet">PortletURL</A> <B>createActionURL</B>()                           throws java.lang.IllegalStateException</PRE><DL><DD>The default behavior of this method is to call  <code>createActionURL()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#createActionURL()">createActionURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceResponse.html#createActionURL()">createActionURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a portlet action URL<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the cacheability level of the resource URL             triggering this <code>serveResource</code> call             is not <code>PAGE</code> and thus does not allow             for creating action URLs.</DL></DD></DL><HR><A NAME="createRenderURL()"><!-- --></A><H3>createRenderURL</H3><PRE>public <A HREF="../../../javax/portlet/PortletURL.html" title="interface in javax.portlet">PortletURL</A> <B>createRenderURL</B>()                           throws java.lang.IllegalStateException</PRE><DL><DD>The default behavior of this method is to call  <code>createRenderURL()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#createRenderURL()">createRenderURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceResponse.html#createRenderURL()">createRenderURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a portlet render URL<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the cacheability level of the resource URL             triggering this <code>serveResource</code> call             is not <code>PAGE</code> and thus does not allow             for creating render URLs.</DL></DD></DL><HR><A NAME="createResourceURL()"><!-- --></A><H3>createResourceURL</H3><PRE>public <A HREF="../../../javax/portlet/ResourceURL.html" title="interface in javax.portlet">ResourceURL</A> <B>createResourceURL</B>()                              throws java.lang.IllegalStateException</PRE><DL><DD>The default behavior of this method is to call  <code>createResourceURL()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/MimeResponse.html#createResourceURL()">createResourceURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ResourceResponse.html#createResourceURL()">createResourceURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ResourceResponse.html" title="interface in javax.portlet">ResourceResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a portlet resource URL<DT><B>Throws:</B><DD><CODE>java.lang.IllegalStateException</CODE> - if the cacheability level of the resource URL             triggering this <code>serveResource</code> call,             or one of the parent calls, have defined a stricter             cachability level.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/ResourceResponseWrapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../javax/portlet/filter/ResourceRequestWrapper.html" title="class in javax.portlet.filter"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/portlet/filter/ResourceResponseWrapper.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ResourceResponseWrapper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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