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

📄 actionresponsewrapper.html.svn-base

📁 portal越来越流行了
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
 <code>setPortletMode(portletMode)</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/ActionResponseWrapper.html#setRenderParameter(java.lang.String, java.lang.String)">setRenderParameter</A></B>(java.lang.String&nbsp;key,                   java.lang.String&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setRenderParameter(key, value)</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/ActionResponseWrapper.html#setRenderParameter(java.lang.String, java.lang.String[])">setRenderParameter</A></B>(java.lang.String&nbsp;key,                   java.lang.String[]&nbsp;values)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setRenderParameter(key, value)</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/ActionResponseWrapper.html#setRenderParameters(java.util.Map)">setRenderParameters</A></B>(java.util.Map&lt;java.lang.String,java.lang.String[]&gt;&nbsp;parameters)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setRenderParameters(parameters)</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/ActionResponseWrapper.html#setResponse(javax.portlet.ActionResponse)">setResponse</A></B>(<A HREF="../../../javax/portlet/ActionResponse.html" title="interface in javax.portlet">ActionResponse</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/ActionResponseWrapper.html#setWindowState(javax.portlet.WindowState)">setWindowState</A></B>(<A HREF="../../../javax/portlet/WindowState.html" title="class in javax.portlet">WindowState</A>&nbsp;windowState)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The default behavior of this method is to call  <code>setWindowState(windowState)</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="ActionResponseWrapper(javax.portlet.ActionResponse)"><!-- --></A><H3>ActionResponseWrapper</H3><PRE>public <B>ActionResponseWrapper</B>(<A HREF="../../../javax/portlet/ActionResponse.html" title="interface in javax.portlet">ActionResponse</A>&nbsp;response)</PRE><DL><DD>Creates an <code>ActionResponse</code> adaptor  wrapping the given response object.<P><DL><DT><B>Parameters:</B><DD><CODE>response</CODE> - the action 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="sendRedirect(java.lang.String)"><!-- --></A><H3>sendRedirect</H3><PRE>public void <B>sendRedirect</B>(java.lang.String&nbsp;location)                  throws java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>sendRedirect(location)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ActionResponse.html#sendRedirect(java.lang.String)">sendRedirect</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ActionResponse.html" title="interface in javax.portlet">ActionResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>location</CODE> - the redirect location URL<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input or output exception occurs.</DL></DD></DL><HR><A NAME="sendRedirect(java.lang.String, java.lang.String)"><!-- --></A><H3>sendRedirect</H3><PRE>public void <B>sendRedirect</B>(java.lang.String&nbsp;location,                         java.lang.String&nbsp;renderUrlParamName)                  throws java.io.IOException</PRE><DL><DD>The default behavior of this method is to call  <code>sendRedirect(location, renderUrlParamName)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/ActionResponse.html#sendRedirect(java.lang.String, java.lang.String)">sendRedirect</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/ActionResponse.html" title="interface in javax.portlet">ActionResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>location</CODE> - the redirect location URL<DD><CODE>renderUrlParamName</CODE> - name of the query parameter under which the portlet container should                                store a render URL to this portlet<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input or output exception occurs.</DL></DD></DL><HR><A NAME="setEvent(javax.xml.namespace.QName, java.io.Serializable)"><!-- --></A><H3>setEvent</H3><PRE>public void <B>setEvent</B>(javax.xml.namespace.QName&nbsp;name,                     java.io.Serializable&nbsp;value)</PRE><DL><DD>The default behavior of this method is to call  <code>setEvent(name, value)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setEvent(javax.xml.namespace.QName, java.io.Serializable)">setEvent</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/StateAwareResponse.html" title="interface in javax.portlet">StateAwareResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the event name to publish, must not be <code>null</code><DD><CODE>value</CODE> - the value of this event, must have a valid JAXB binding and             be serializable, or <code>null</code>.</DL></DD></DL><HR><A NAME="setPortletMode(javax.portlet.PortletMode)"><!-- --></A><H3>setPortletMode</H3><PRE>public void <B>setPortletMode</B>(<A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A>&nbsp;portletMode)                    throws <A HREF="../../../javax/portlet/PortletModeException.html" title="class in javax.portlet">PortletModeException</A></PRE><DL><DD>The default behavior of this method is to call  <code>setPortletMode(portletMode)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setPortletMode(javax.portlet.PortletMode)">setPortletMode</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/StateAwareResponse.html" title="interface in javax.portlet">StateAwareResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>portletMode</CODE> - the new portlet mode<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/portlet/PortletModeException.html" title="class in javax.portlet">PortletModeException</A></CODE> - if the portlet cannot switch to this portlet mode, because                the portlet or portal does not support it for this markup,                or the current user is not allowed to switch to this                portlet mode. To avoid this exception the portlet can                check the allowed portlet modes with                <code>Request.isPortletModeAllowed()</code>.</DL></DD></DL><HR><A NAME="setRenderParameter(java.lang.String, java.lang.String)"><!-- --></A><H3>setRenderParameter</H3><PRE>public void <B>setRenderParameter</B>(java.lang.String&nbsp;key,                               java.lang.String&nbsp;value)</PRE><DL><DD>The default behavior of this method is to call  <code>setRenderParameter(key, value)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setRenderParameter(java.lang.String, java.lang.String)">setRenderParameter</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/StateAwareResponse.html" title="interface in javax.portlet">StateAwareResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the render parameter<DD><CODE>value</CODE> - value of the render parameter</DL></DD></DL><HR><A NAME="setRenderParameter(java.lang.String, java.lang.String[])"><!-- --></A><H3>setRenderParameter</H3><PRE>public void <B>setRenderParameter</B>(java.lang.String&nbsp;key,                               java.lang.String[]&nbsp;values)</PRE><DL><DD>The default behavior of this method is to call  <code>setRenderParameter(key, value)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setRenderParameter(java.lang.String, java.lang.String[])">setRenderParameter</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/StateAwareResponse.html" title="interface in javax.portlet">StateAwareResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - key of the render parameter<DD><CODE>values</CODE> - values of the render parameter</DL></DD></DL><HR>

⌨️ 快捷键说明

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