📄 portletapiutils.html
字号:
Creates a Portlet URI from the given response.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURI(java.lang.Object, int)">createPortletURI</A></B>(java.lang.Object response, int urlType)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURI(java.lang.Object, com.ibm.portal.struts.common.PortletURIAttributes)">createPortletURI</A></B>(java.lang.Object response, <A HREF="../../../../../com/ibm/portal/struts/common/PortletURIAttributes.html" title="class in com.ibm.portal.struts.common">PortletURIAttributes</A> uriAttributes)</CODE><BR> Creates a PortletURI for the given response.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURIWithStrutsURL(javax.servlet.http.HttpServletRequest, java.lang.String)">createPortletURIWithStrutsURL</A></B>(javax.servlet.http.HttpServletRequest request, java.lang.String actionUrl)</CODE><BR> Creates a Struts PortletURI for the given response and URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURIWithStrutsURL(javax.servlet.http.HttpServletRequest, java.lang.String, int)">createPortletURIWithStrutsURL</A></B>(javax.servlet.http.HttpServletRequest request, java.lang.String actionUrl, int urlType)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURIWithStrutsURL(javax.servlet.http.HttpServletRequest, java.lang.String, com.ibm.portal.struts.common.PortletURIAttributes)">createPortletURIWithStrutsURL</A></B>(javax.servlet.http.HttpServletRequest request, java.lang.String actionUrl, <A HREF="../../../../../com/ibm/portal/struts/common/PortletURIAttributes.html" title="class in com.ibm.portal.struts.common">PortletURIAttributes</A> uriAttributes)</CODE><BR> Creates the requested type of PortletURI for the given response and URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURIWithStrutsURL(java.lang.Object, java.lang.String)">createPortletURIWithStrutsURL</A></B>(java.lang.Object response, java.lang.String actionUrl)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createPortletURIWithStrutsURL(java.lang.Object, java.lang.String, int)">createPortletURIWithStrutsURL</A></B>(java.lang.Object response, java.lang.String actionUrl, int urlType)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#createStrutsPortletURL(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, com.ibm.portal.struts.common.PortletURIAttributes)">createStrutsPortletURL</A></B>(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String actionUrl, <A HREF="../../../../../com/ibm/portal/struts/common/PortletURIAttributes.html" title="class in com.ibm.portal.struts.common">PortletURIAttributes</A> uriAttributes)</CODE><BR> Creates the requested type of PortletURI for the given response and URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#encodeAction(java.lang.String, javax.servlet.http.HttpServletRequest)">encodeAction</A></B>(java.lang.String actionURL, javax.servlet.http.HttpServletRequest request)</CODE><BR> Encodes the Struts action URL so that it can be added as a paramter to the portlet URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#encodeNamespace(java.lang.String, javax.servlet.http.HttpServletRequest)">encodeNamespace</A></B>(java.lang.String name, javax.servlet.http.HttpServletRequest request)</CODE><BR> Returns the namescoped name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#encodeURL(java.lang.String, javax.servlet.http.HttpServletRequest)">encodeURL</A></B>(java.lang.String path, javax.servlet.http.HttpServletRequest request)</CODE><BR> Returns the fully qualified URL from the path.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#encodeURL(java.lang.String, javax.servlet.http.HttpServletResponse)">encodeURL</A></B>(java.lang.String path, javax.servlet.http.HttpServletResponse response)</CODE><BR> Returns the fully qualified URL from the path.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#forward(java.lang.String)">forward</A></B>(java.lang.String uri)</CODE><BR> Processes a forward.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#forward(java.lang.String, javax.servlet.http.HttpServletRequest)">forward</A></B>(java.lang.String uri, javax.servlet.http.HttpServletRequest request)</CODE><BR> Processes a forward.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getActionMappingURL(java.lang.String, javax.servlet.jsp.PageContext)">getActionMappingURL</A></B>(java.lang.String action, javax.servlet.jsp.PageContext pageContext)</CODE><BR> Return the form action converted into a server-relative URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getDefaultPortletActionName()">getDefaultPortletActionName</A></B>()</CODE><BR> Returns the name of the portlet action for a Struts PortletURI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getEncodedBeanName(java.lang.String, javax.servlet.http.HttpServletRequest)">getEncodedBeanName</A></B>(java.lang.String beanName, javax.servlet.http.HttpServletRequest request)</CODE><BR> Returns the encoded bean name with the first character upper-cased if isFormNamescoped returns true.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getParameterName(java.lang.String)">getParameterName</A></B>(java.lang.String key)</CODE><BR> Returns the parameter name stored under the specified key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getPortletRequest(javax.servlet.http.HttpServletRequest)">getPortletRequest</A></B>(javax.servlet.http.HttpServletRequest request)</CODE><BR> Gets the PortletRequest as an object from the given request object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getPortletResponse(javax.servlet.http.HttpServletRequest)">getPortletResponse</A></B>(javax.servlet.http.HttpServletRequest request)</CODE><BR> Gets the PortletResponse as an object from the given request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getPortletResponse(javax.servlet.http.HttpServletResponse, javax.servlet.http.HttpServletRequest)">getPortletResponse</A></B>(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)</CODE><BR> Gets the PortletResponse as an object from the given request.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getStrutsActionParameterName()">getStrutsActionParameterName</A></B>()</CODE><BR> Returns the name of the parameter used to pass the Struts action.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html" title="class in com.ibm.portal.struts.common">PortletApiUtils</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#getUtilsInstance()">getUtilsInstance</A></B>()</CODE><BR> Gets the singleton instance of the PortletApiUtils implementation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#includeTile(java.lang.String, javax.servlet.jsp.PageContext)">includeTile</A></B>(java.lang.String path, javax.servlet.jsp.PageContext pageContext)</CODE><BR> Includes the path as a tile.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#isFormNamescoped()">isFormNamescoped</A></B>()</CODE><BR> Returns whether or not namescoping of forms is enabled.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#setDefaultPortletActionName(java.lang.String)">setDefaultPortletActionName</A></B>(java.lang.String name)</CODE><BR> Sets the name of the portlet action for a Struts PortletURI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#setNamescopeForm(boolean)">setNamescopeForm</A></B>(boolean value)</CODE><BR> Turns namescoping of forms on or off, default is on.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#setParameterName(java.lang.String, java.lang.String)">setParameterName</A></B>(java.lang.String key, java.lang.String name)</CODE><BR> Sets the parameter name for the specified key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#setStrutsActionParameterName(java.lang.String)">setStrutsActionParameterName</A></B>(java.lang.String name)</CODE><BR> Sets the name used to store the Struts action as a parameter in the Portlet URL.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#setUtilsInstance(com.ibm.portal.struts.common.PortletApiUtils)">setUtilsInstance</A></B>(<A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html" title="class in com.ibm.portal.struts.common">PortletApiUtils</A> implementation)</CODE><BR> Sets the singleton instance of the PortletApiUtils implementation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/common/PortletApiUtils.html#typeOfURL(java.lang.String)">typeOfURL</A></B>(java.lang.String urlType)</CODE><BR> <B>Deprecated.</B> <I></I> </TD></TR></TABLE> <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">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -