📄 viewcommandfactory.html
字号:
javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</PRE><DL><DD>Creates a command based on the given ErrorResponseInfo. Creates a WpsStrutsViewErrorCommand object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>errorInfo</CODE> - ErrorResponseInfo<DD><CODE>request</CODE> - the request<DT><B>Returns:</B><DD>returns a WpsStrutsViewCommand object</DL></DD></DL><HR><A NAME="isStaticallyIncludedContent(java.lang.String)"><!-- --></A><H3>isStaticallyIncludedContent</H3><PRE>protected boolean <B>isStaticallyIncludedContent</B>(java.lang.String uri)</PRE><DL><DD>Determines whether the given path can be included statically (like HTML). The analysis is usually based on the extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DT><B>Returns:</B><DD>returns boolean true if the URI is statically included content</DL></DD></DL><HR><A NAME="isStaticallyIncludedContent(java.lang.String, java.lang.String)"><!-- --></A><H3>isStaticallyIncludedContent</H3><PRE>protected boolean <B>isStaticallyIncludedContent</B>(java.lang.String uri, java.lang.String extLowerCase)</PRE><DL><DD>Determines whether the given path can be included statically (like HTML). The analysis is usually based on the extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DD><CODE>extLowerCase</CODE> - the file extension in lower case<DT><B>Returns:</B><DD>returns boolean true if the URI is statically included content</DL></DD></DL><HR><A NAME="isDynamicallyIncludedContent(java.lang.String)"><!-- --></A><H3>isDynamicallyIncludedContent</H3><PRE>protected boolean <B>isDynamicallyIncludedContent</B>(java.lang.String uri)</PRE><DL><DD>Determines whether the given path can be included dynamically (like a JSP). The analysis is usually based on the extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DT><B>Returns:</B><DD>returns boolean true if the URI is dynamically included content</DL></DD></DL><HR><A NAME="isDynamicallyIncludedContent(java.lang.String, java.lang.String)"><!-- --></A><H3>isDynamicallyIncludedContent</H3><PRE>protected boolean <B>isDynamicallyIncludedContent</B>(java.lang.String uri, java.lang.String extLowerCase)</PRE><DL><DD>Determines whether the given path can be included dynamically (like a JSP). The analysis is usually based on the extension.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DD><CODE>extLowerCase</CODE> - file extension from path in lower case<DT><B>Returns:</B><DD>returns boolean true if the URI is dynamically included content</DL></DD></DL><HR><A NAME="isTilesIncludedContent(java.lang.String, java.lang.String, javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>isTilesIncludedContent</H3><PRE>protected boolean <B>isTilesIncludedContent</B>(java.lang.String uri, java.lang.String extLowerCase, javax.servlet.http.HttpServletRequest request)</PRE><DL><DD>Determines whether the given path can be included as a Struts Tiles JSP. The analysis is usually based on the extension and presence of the request attribute WpsStrutsConstants.TILES_DEFINITION.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DD><CODE>extLowerCase</CODE> - file extension from path in lower case<DD><CODE>request</CODE> - the request object<DT><B>Returns:</B><DD>returns boolean true if the URI is Tiles included content</DL></DD></DL><HR><A NAME="handleUnrecognizedExtension(java.lang.String, javax.servlet.http.HttpServletRequest, com.ibm.wps.portlets.struts.ViewCommandExecutionContext)"><!-- --></A><H3>handleUnrecognizedExtension</H3><PRE>protected <A HREF="../../../../../../com/ibm/wps/portlets/struts/WpsStrutsViewCommand.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsViewCommand</A> <B>handleUnrecognizedExtension</B>(java.lang.String uri, javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../../com/ibm/wps/portlets/struts/ViewCommandExecutionContext.html" title="class in com.ibm.wps.portlets.struts">ViewCommandExecutionContext</A> executionContext)</PRE><DL><DD>Handles an unrecognized extension. This implementation treats the page as something that is dynamic content, but this can be overridden.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DD><CODE>request</CODE> - the request we are processing<DD><CODE>executionContext</CODE> - the ViewCommandExecutionContext object<DT><B>Returns:</B><DD>returns the command object to handle the uri</DL></DD></DL><HR><A NAME="getExtensionLowerCase(java.lang.String)"><!-- --></A><H3>getExtensionLowerCase</H3><PRE>protected java.lang.String <B>getExtensionLowerCase</B>(java.lang.String uri)</PRE><DL><DD>Gets the extension from the given String URI. Return <code>null</code> if no extension found.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DT><B>Returns:</B><DD>returns the extension in lower case or <code>null</code> otherwise</DL></DD></DL><HR><A NAME="getExtensionUpperCase(java.lang.String)"><!-- --></A><H3>getExtensionUpperCase</H3><PRE>protected java.lang.String <B>getExtensionUpperCase</B>(java.lang.String uri)</PRE><DL><DD>Gets the extension from the given String URI. Return <code>null</code> if no extension found.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - path to resource<DT><B>Returns:</B><DD>returns the extension in upper case or <code>null</code> otherwise</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> </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"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</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="../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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-all.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="../../../../../../com/ibm/wps/portlets/struts/plugins/SessionCommandManagerFactoryPlugin.html" title="class in com.ibm.wps.portlets.struts.plugins"><B>PREV CLASS</B></A> <A HREF="../../../../../../com/ibm/wps/portlets/struts/plugins/WpsStrutsTilesPlugin.html" title="class in com.ibm.wps.portlets.struts.plugins"><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> <A HREF="ViewCommandFactory.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -