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

📄 wpsrequestprocessor.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
protected org.apache.struts.action.ActionMapping <B>processMapping</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                                                                javax.servlet.http.HttpServletResponse&nbsp;response,                                                                java.lang.String&nbsp;path)                                                         throws java.io.IOException</PRE><DL><DD>Calls the super processMapping implementation. It then  checks the ActionMapping type to see if the Action implements  the IStrutsPrepareRender interface. If so, the request processor  processing stops.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating<DD><CODE>path</CODE> - The portion of the request URI for selecting a mapping<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input/output error occurs</DL></DD></DL><HR><A NAME="processNoCache(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>processNoCache</H3><PRE>protected void <B>processNoCache</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                              javax.servlet.http.HttpServletResponse&nbsp;response)</PRE><DL><DD>This method is overridden so that the  Struts request processor <code>processNoCache</code> method is not called.  This method is a no-op in Portal.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating</DL></DD></DL><HR><A NAME="doForward(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>doForward</H3><PRE>protected void <B>doForward</B>(java.lang.String&nbsp;uri,                         javax.servlet.http.HttpServletRequest&nbsp;request,                         javax.servlet.http.HttpServletResponse&nbsp;response)                  throws java.io.IOException,                         javax.servlet.ServletException</PRE><DL><DD>Calls doInclude. Forwards are not directly supported in Portal.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - Uri or Definition name to forward<DD><CODE>request</CODE> - Current page request<DD><CODE>response</CODE> - Current page response<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE>javax.servlet.ServletException</CODE></DL></DD></DL><HR><A NAME="doInclude(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>doInclude</H3><PRE>protected void <B>doInclude</B>(java.lang.String&nbsp;uri,                         javax.servlet.http.HttpServletRequest&nbsp;request,                         javax.servlet.http.HttpServletResponse&nbsp;response)                  throws java.io.IOException,                         javax.servlet.ServletException</PRE><DL><DD>Includes a specified URI. This implementation includes files, or recursively calls the RequestProcessor for Struts actions.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - Uri of page to include<DD><CODE>request</CODE> - Current page request<DD><CODE>response</CODE> - Current page response<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE>javax.servlet.ServletException</CODE></DL></DD></DL><HR><A NAME="processNewActionUri(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext)"><!-- --></A><H3>processNewActionUri</H3><PRE>public static void <B>processNewActionUri</B>(java.lang.String&nbsp;uri,                                       javax.servlet.http.HttpServletRequest&nbsp;request,                                       javax.servlet.http.HttpServletResponse&nbsp;response,                                       javax.servlet.ServletContext&nbsp;servletContext)                                throws java.io.IOException,                                       javax.servlet.ServletException</PRE><DL><DD>Simulates a forward to a Struts action. The appropriate Request  Processor is looked up and the process method is called.  The URI is the path for the Struts action and can contain a query string. If the URI is not a path for a Struts action, then the URI will be passed to the <code>ViewCommandFactory</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the new URI<DD><CODE>request</CODE> - the request<DD><CODE>response</CODE> - the response<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE>javax.servlet.ServletException</CODE></DL></DD></DL><HR><A NAME="setServletContext(javax.servlet.ServletContext)"><!-- --></A><H3>setServletContext</H3><PRE>public void <B>setServletContext</B>(javax.servlet.ServletContext&nbsp;sContext)</PRE><DL><DD>Sets the servlet context.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>sContext</CODE> - the servlet context object</DL></DD></DL><HR><A NAME="getServletContext()"><!-- --></A><H3>getServletContext</H3><PRE>protected javax.servlet.ServletContext <B>getServletContext</B>()</PRE><DL><DD>Returns the servlet context object.<P><DD><DL><DT><B>Returns:</B><DD>returns the servlet context object, can be <code>null</code> if not set</DL></DD></DL><HR><A NAME="getStrutsInfo()"><!-- --></A><H3>getStrutsInfo</H3><PRE>public <A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsInfo.html" title="class in com.ibm.wps.portlets.struts">WpsStrutsInfo</A> <B>getStrutsInfo</B>()</PRE><DL><DD>Gets the <code>WpsStrutsInfo</code> object associated with this command processor.<P><DD><DL><DT><B>Returns:</B><DD>returns the WpsStrutsInfo object</DL></DD></DL><HR><A NAME="getApplicationPrefix()"><!-- --></A><H3>getApplicationPrefix</H3><PRE>public java.lang.String <B>getApplicationPrefix</B>()</PRE><DL><DD>Gets the application prefix associated with this command processor.<P><DD><DL><DT><B>Returns:</B><DD>returns the application prefix, can be <code>null</code></DL></DD></DL><HR><A NAME="processRoles(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionMapping)"><!-- --></A><H3>processRoles</H3><PRE>protected boolean <B>processRoles</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                               javax.servlet.http.HttpServletResponse&nbsp;response,                               org.apache.struts.action.ActionMapping&nbsp;mapping)                        throws java.io.IOException,                               javax.servlet.ServletException</PRE><DL><DD>Calls the super implementation for processing J2EE roles. If the application was configured to use Portal groups instead then the  ActionMapping roles are compared to the user's Portal groups.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating<DD><CODE>mapping</CODE> - The mapping we are using<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input/output error occurs<DD><CODE>javax.servlet.ServletException</CODE> - if a servlet exception occurs</DL></DD></DL><HR><A NAME="processPopulate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)"><!-- --></A><H3>processPopulate</H3><PRE>protected void <B>processPopulate</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                               javax.servlet.http.HttpServletResponse&nbsp;response,                               org.apache.struts.action.ActionForm&nbsp;form,                               org.apache.struts.action.ActionMapping&nbsp;mapping)                        throws javax.servlet.ServletException</PRE><DL><DD>Calls the inherited processPopulate. If file upload is used and the  maximum length is exceeded then this method gets the request input stream and reads the byte stream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating<DD><CODE>form</CODE> - The ActionForm instance we are populating<DD><CODE>mapping</CODE> - The ActionMapping we are using<DT><B>Throws:</B><DD><CODE>javax.servlet.ServletException</CODE> - if thrown by RequestUtils.populate()</DL></DD></DL><HR><A NAME="processUri(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)"><!-- --></A><H3>processUri</H3><PRE>protected java.lang.String <B>processUri</B>(javax.servlet.http.HttpServletRequest&nbsp;request,                                      javax.servlet.http.HttpServletResponse&nbsp;response)                               throws java.io.IOException</PRE><DL><DD>Identifies and returns the path component from the request URI.  The path  includes the extension mapping. If no such path can be identified,  it creates an error response and returns <code>null</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The servlet request we are processing<DD><CODE>response</CODE> - The servlet response we are creating<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an input/output error occurs</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/wps/portlets/struts/WpsActionServlet.html" title="class in com.ibm.wps.portlets.struts"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/ibm/wps/portlets/struts/WpsStrutsFilteredViewCommand.html" title="class in com.ibm.wps.portlets.struts"><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="WpsRequestProcessor.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 + -