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

📄 strutsviewstaticcommand.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</TABLE><A NAME="getURI(javax.portlet.RenderRequest)"><!-- --></A><H3>getURI</H3><PRE>public java.lang.String <B>getURI</B>(javax.portlet.RenderRequest&nbsp;request)</PRE><DL><DD>Return the URI string<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The request providing the context to fetch the URI.<DT><B>Returns:</B><DD>uri string</DL></DD></DL><HR><A NAME="setURI(javax.portlet.PortletRequest, java.lang.String)"><!-- --></A><H3>setURI</H3><PRE>public void <B>setURI</B>(javax.portlet.PortletRequest&nbsp;request,                   java.lang.String&nbsp;uri)</PRE><DL><DD>Set the uri<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object.<DD><CODE>uri</CODE> - the uri to set.</DL></DD></DL><HR><A NAME="executeCommand(javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>executeCommand</H3><PRE>public void <B>executeCommand</B>(javax.portlet.RenderRequest&nbsp;request,                           javax.portlet.RenderResponse&nbsp;response,                           <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;executionContext)                    throws javax.portlet.PortletException</PRE><DL><DD>Execute the given command given the request and response objects<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsFilteredViewCommand.html#executeCommand(javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)">executeCommand</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsFilteredViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsFilteredViewCommand</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The request object<DD><CODE>response</CODE> - The response object<DD><CODE>executionContext</CODE> - the execution context object<DT><B>Throws:</B><DD><CODE>javax.portlet.PortletException</CODE></DL></DD></DL><HR><A NAME="writeReaderToWriter(java.io.Reader, java.io.Writer)"><!-- --></A><H3>writeReaderToWriter</H3><PRE>protected void <B>writeReaderToWriter</B>(java.io.Reader&nbsp;reader,                                   java.io.Writer&nbsp;writer)                            throws java.io.IOException</PRE><DL><DD>Write the contents of a Reader to a Writer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>reader</CODE> - The source Reader.<DD><CODE>writer</CODE> - The destination Writer.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - On IO error.</DL></DD></DL><HR><A NAME="getCharsetFromContentType(java.lang.String)"><!-- --></A><H3>getCharsetFromContentType</H3><PRE>protected java.lang.String <B>getCharsetFromContentType</B>(java.lang.String&nbsp;contentType)</PRE><DL><DD>Extract the charset from the Content-Type string, or return a default if unavailable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>contentType</CODE> - The Content-Type HTTP response header to parse.<DT><B>Returns:</B><DD>The charset, or UTF-8 if unavailable.</DL></DD></DL><HR><A NAME="addAttributeNameToSave(java.lang.String)"><!-- --></A><H3>addAttributeNameToSave</H3><PRE>public static void <B>addAttributeNameToSave</B>(java.lang.String&nbsp;attributeName)</PRE><DL><DD>Add the name of an attribute from the object request the needs to be  saved if present for the execution of the IViewCommand in Portal's render phase<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name of the attribute</DL></DD></DL><HR><A NAME="saveAttributes(javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>saveAttributes</H3><PRE>public void <B>saveAttributes</B>(javax.portlet.PortletRequest&nbsp;request,                           <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;executionContext)</PRE><DL><DD>Save the attributes specific to JSP rendering.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveAttributes(javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)">saveAttributes</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request object<DD><CODE>executionContext</CODE> - the context object</DL></DD></DL><HR><A NAME="fixupAbsolutePath(java.lang.String)"><!-- --></A><H3>fixupAbsolutePath</H3><PRE>public java.lang.String <B>fixupAbsolutePath</B>(java.lang.String&nbsp;path)</PRE><DL><DD>Convert URLs of the form http://www.ibm.com to http://www.ibm.com/ . This is necessary to fix a problem in the base code which interprets the base URL for http://www.ibm.com as http://.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>path</CODE> - The URL to fix up<DT><B>Returns:</B><DD>The fixed up URL.  If it doesn't need fixing up, the original is returned.</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=3 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;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</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="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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-all.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="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html" title="class in com.ibm.portal.struts.command"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html" title="class in com.ibm.portal.struts.command"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StrutsViewStaticCommand.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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 + -