📄 renderresponse.html.svn-base
字号:
<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/MimeResponse.html" title="interface in javax.portlet">MimeResponse</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../javax/portlet/MimeResponse.html#createActionURL()">createActionURL</A>, <A HREF="../../javax/portlet/MimeResponse.html#createRenderURL()">createRenderURL</A>, <A HREF="../../javax/portlet/MimeResponse.html#createResourceURL()">createResourceURL</A>, <A HREF="../../javax/portlet/MimeResponse.html#flushBuffer()">flushBuffer</A>, <A HREF="../../javax/portlet/MimeResponse.html#getBufferSize()">getBufferSize</A>, <A HREF="../../javax/portlet/MimeResponse.html#getCacheControl()">getCacheControl</A>, <A HREF="../../javax/portlet/MimeResponse.html#getCharacterEncoding()">getCharacterEncoding</A>, <A HREF="../../javax/portlet/MimeResponse.html#getContentType()">getContentType</A>, <A HREF="../../javax/portlet/MimeResponse.html#getLocale()">getLocale</A>, <A HREF="../../javax/portlet/MimeResponse.html#getPortletOutputStream()">getPortletOutputStream</A>, <A HREF="../../javax/portlet/MimeResponse.html#getWriter()">getWriter</A>, <A HREF="../../javax/portlet/MimeResponse.html#isCommitted()">isCommitted</A>, <A HREF="../../javax/portlet/MimeResponse.html#reset()">reset</A>, <A HREF="../../javax/portlet/MimeResponse.html#resetBuffer()">resetBuffer</A>, <A HREF="../../javax/portlet/MimeResponse.html#setBufferSize(int)">setBufferSize</A></CODE></TD></TR></TABLE> <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> <P><!-- ============ 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="setTitle(java.lang.String)"><!-- --></A><H3>setTitle</H3><PRE>void <B>setTitle</B>(java.lang.String title)</PRE><DL><DD>This method sets the title of the portlet. <p> The value can be a text String<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - portlet title as text String or resource URI</DL></DD></DL><HR><A NAME="setNextPossiblePortletModes(java.util.Collection)"><!-- --></A><H3>setNextPossiblePortletModes</H3><PRE>void <B>setNextPossiblePortletModes</B>(java.util.Collection<<A HREF="../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A>> portletModes)</PRE><DL><DD>This method allows the portlet to tell the portal the next possible portlet modes that the make sense from the portlet point of view. <p> If set, the portal should honor these enumeration of portlet modes and only provide the end user with choices to the provided portlet modes or a subset of these modes based on access control considerations. <p> If the portlet does not set any next possible portlet modes the default is that all portlet modes that the portlet has defined supporting in the portlet deployment descriptor are meaningful new portlet modes.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>portletModes</CODE> - <code>Enumeration</code> of <code>PortletMode</code> objects with the next possible portlet modes that the make sense from the portlet point of view, must not be <code>null</code> or an empty enumeration.<DT><B>Since:</B></DT> <DD>2.0</DD></DL></DD></DL><HR><A NAME="setContentType(java.lang.String)"><!-- --></A><H3>setContentType</H3><PRE>void <B>setContentType</B>(java.lang.String type)</PRE><DL><DD>Sets the MIME type for the render response. The portlet should set the content type before calling <A HREF="../../javax/portlet/MimeResponse.html#getWriter()"><CODE>MimeResponse.getWriter()</CODE></A> or <A HREF="../../javax/portlet/MimeResponse.html#getPortletOutputStream()"><CODE>MimeResponse.getPortletOutputStream()</CODE></A>. <p> Calling <code>setContentType</code> after <code>getWriter</code> or <code>getOutputStream</code> does not change the content type. <p> The portlet container will ignore any character encoding specified as part of the content type for <code>render</code> calls.<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>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the given type is not in the list returned by <code>PortletRequest.getResponseContentTypes</code><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><!-- ========= 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RenderResponse.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../javax/portlet/RenderRequest.html" title="interface in javax.portlet"><B>PREV CLASS</B></A> <A HREF="../../javax/portlet/ResourceRequest.html" title="interface in javax.portlet"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?javax/portlet/RenderResponse.html" target="_top"><B>FRAMES</B></A> <A HREF="RenderResponse.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <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 + -