📄 actionresponsewrapper.html.svn-base
字号:
<A NAME="setRenderParameters(java.util.Map)"><!-- --></A><H3>setRenderParameters</H3><PRE>public void <B>setRenderParameters</B>(java.util.Map<java.lang.String,java.lang.String[]> parameters)</PRE><DL><DD>The default behavior of this method is to call <code>setRenderParameters(parameters)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setRenderParameters(java.util.Map)">setRenderParameters</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>parameters</CODE> - Map containing parameter names for the render phase as keys and parameter values as map values. The keys in the parameter map must be of type String. The values in the parameter map must be of type String array (<code>String[]</code>).</DL></DD></DL><HR><A NAME="setWindowState(javax.portlet.WindowState)"><!-- --></A><H3>setWindowState</H3><PRE>public void <B>setWindowState</B>(<A HREF="../../../javax/portlet/WindowState.html" title="class in javax.portlet">WindowState</A> windowState) throws <A HREF="../../../javax/portlet/WindowStateException.html" title="class in javax.portlet">WindowStateException</A></PRE><DL><DD>The default behavior of this method is to call <code>setWindowState(windowState)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setWindowState(javax.portlet.WindowState)">setWindowState</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>windowState</CODE> - the new portlet window state<DT><B>Throws:</B><DD><CODE><A HREF="../../../javax/portlet/WindowStateException.html" title="class in javax.portlet">WindowStateException</A></CODE> - if the portlet cannot switch to the specified window state. To avoid this exception the portlet can check the allowed window states with <code>Request.isWindowStateAllowed()</code>.<DT><B>See Also:</B><DD><A HREF="../../../javax/portlet/WindowState.html" title="class in javax.portlet"><CODE>WindowState</CODE></A></DL></DD></DL><HR><A NAME="getResponse()"><!-- --></A><H3>getResponse</H3><PRE>public <A HREF="../../../javax/portlet/ActionResponse.html" title="interface in javax.portlet">ActionResponse</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.ActionResponse)"><!-- --></A><H3>setResponse</H3><PRE>public void <B>setResponse</B>(<A HREF="../../../javax/portlet/ActionResponse.html" title="interface in javax.portlet">ActionResponse</A> 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="getPortletMode()"><!-- --></A><H3>getPortletMode</H3><PRE>public <A HREF="../../../javax/portlet/PortletMode.html" title="class in javax.portlet">PortletMode</A> <B>getPortletMode</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getPortletMode()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#getPortletMode()">getPortletMode</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>Returns:</B><DD>the portlet mode, or <code>null</code> if none is set</DL></DD></DL><HR><A NAME="getRenderParameterMap()"><!-- --></A><H3>getRenderParameterMap</H3><PRE>public java.util.Map<java.lang.String,java.lang.String[]> <B>getRenderParameterMap</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getRenderParameterMap()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#getRenderParameterMap()">getRenderParameterMap</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>Returns:</B><DD><code>Map</code> containing render parameter names as keys and parameter values as map values, or an empty <code>Map</code> if no parameters exist. The keys in the parameter map are of type String. The values in the parameter map are of type String array (<code>String[]</code>).</DL></DD></DL><HR><A NAME="getWindowState()"><!-- --></A><H3>getWindowState</H3><PRE>public <A HREF="../../../javax/portlet/WindowState.html" title="class in javax.portlet">WindowState</A> <B>getWindowState</B>()</PRE><DL><DD>The default behavior of this method is to call <code>getWindowState()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#getWindowState()">getWindowState</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>Returns:</B><DD>the window state, or <code>null</code> if none is set</DL></DD></DL><HR><A NAME="setEvent(java.lang.String, java.io.Serializable)"><!-- --></A><H3>setEvent</H3><PRE>public void <B>setEvent</B>(java.lang.String name, java.io.Serializable value)</PRE><DL><DD>The default behavior of this method is to call <code>setEvent()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#setEvent(java.lang.String, 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 local part of 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="removePublicRenderParameter(java.lang.String)"><!-- --></A><H3>removePublicRenderParameter</H3><PRE>public void <B>removePublicRenderParameter</B>(java.lang.String name)</PRE><DL><DD>The default behavior of this method is to call <code>removePublicRenderParameter()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/StateAwareResponse.html#removePublicRenderParameter(java.lang.String)">removePublicRenderParameter</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> - a <code>String</code> specifying the name of the public render parameter to be removed</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/ActionResponseWrapper.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/filter/ActionRequestWrapper.html" title="class in javax.portlet.filter"><B>PREV CLASS</B></A> <A HREF="../../../javax/portlet/filter/EventFilter.html" title="interface in javax.portlet.filter"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?javax/portlet/filter/ActionResponseWrapper.html" target="_top"><B>FRAMES</B></A> <A HREF="ActionResponseWrapper.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -