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

📄 portletresponsewrapper.html.svn-base

📁 portal越来越流行了
💻 SVN-BASE
📖 第 1 页 / 共 2 页
字号:
<A NAME="PortletResponseWrapper(javax.portlet.PortletResponse)"><!-- --></A><H3>PortletResponseWrapper</H3><PRE>public <B>PortletResponseWrapper</B>(<A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</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="addProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>addProperty</H3><PRE>public void <B>addProperty</B>(java.lang.String&nbsp;key,                        java.lang.String&nbsp;value)</PRE><DL><DD>The default behavior of this method is to call  <code>addProperty(key, value)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#addProperty(java.lang.String, java.lang.String)">addProperty</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of the property to be returned to the portal<DD><CODE>value</CODE> - the value of the property to be returned to the portal</DL></DD></DL><HR><A NAME="encodeURL(java.lang.String)"><!-- --></A><H3>encodeURL</H3><PRE>public java.lang.String <B>encodeURL</B>(java.lang.String&nbsp;path)</PRE><DL><DD>The default behavior of this method is to call  <code>encodeURL(path)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#encodeURL(java.lang.String)">encodeURL</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>path</CODE> - the URI path to the resource. This must be either an absolute            URL (e.g.            <code>http://my.co/myportal/mywebap/myfolder/myresource.gif</code>)            or a full path URI (e.g.            <code>/myportal/mywebap/myfolder/myresource.gif</code>).<DT><B>Returns:</B><DD>the encoded resource URL as string, may not be a valid URL</DL></DD></DL><HR><A NAME="getNamespace()"><!-- --></A><H3>getNamespace</H3><PRE>public java.lang.String <B>getNamespace</B>()</PRE><DL><DD>The default behavior of this method is to call  <code>getNamespace()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#getNamespace()">getNamespace</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the namespace</DL></DD></DL><HR><A NAME="setProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>setProperty</H3><PRE>public void <B>setProperty</B>(java.lang.String&nbsp;key,                        java.lang.String&nbsp;value)</PRE><DL><DD>The default behavior of this method is to call  <code>setProperty(key, value)</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#setProperty(java.lang.String, java.lang.String)">setProperty</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of the property to be returned to the portal<DD><CODE>value</CODE> - the value of the property to be returned to the portal</DL></DD></DL><HR><A NAME="getResponse()"><!-- --></A><H3>getResponse</H3><PRE>public <A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A> <B>getResponse</B>()</PRE><DL><DD>Return the wrapped response object.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the wrapped response</DL></DD></DL><HR><A NAME="setResponse(javax.portlet.PortletResponse)"><!-- --></A><H3>setResponse</H3><PRE>public void <B>setResponse</B>(<A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</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="addProperty(java.lang.String, org.w3c.dom.Element)"><!-- --></A><H3>addProperty</H3><PRE>public void <B>addProperty</B>(java.lang.String&nbsp;key,                        org.w3c.dom.Element&nbsp;element)</PRE><DL><DD>The default behavior of this method is to call  <code>addProperty()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#addProperty(java.lang.String, org.w3c.dom.Element)">addProperty</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key of the property to be returned to the portal<DD><CODE>element</CODE> - the XML DOM element to be added to the response</DL></DD></DL><HR><A NAME="createElement(java.lang.String)"><!-- --></A><H3>createElement</H3><PRE>public org.w3c.dom.Element <B>createElement</B>(java.lang.String&nbsp;tagName)</PRE><DL><DD>The default behavior of this method is to call  <code>createElement()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#createElement(java.lang.String)">createElement</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tagName</CODE> - name of the element type to instantiate<DT><B>Returns:</B><DD>A new Element object with the nodeName attribute set to tagName,           and localName, prefix, and namespaceURI set to null.</DL></DD></DL><HR><A NAME="addProperty(javax.servlet.http.Cookie)"><!-- --></A><H3>addProperty</H3><PRE>public void <B>addProperty</B>(javax.servlet.http.Cookie&nbsp;cookie)</PRE><DL><DD>The default behavior of this method is to call  <code>addProperty()</code> on the wrapped response object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/portlet/PortletResponse.html#addProperty(javax.servlet.http.Cookie)">addProperty</A></CODE> in interface <CODE><A HREF="../../../javax/portlet/PortletResponse.html" title="interface in javax.portlet">PortletResponse</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>cookie</CODE> - the cookie to be added to the response</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/PortletResponseWrapper.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/PortletRequestWrapper.html" title="class in javax.portlet.filter"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/portlet/filter/RenderFilter.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/PortletResponseWrapper.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PortletResponseWrapper.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 + -