📄 diskmultipartrequesthandler.html
字号:
<BR>
<B>Deprecated.</B> This method returns all elements of a multipart request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#getFileElements()">getFileElements</A></B>()</CODE>
<BR>
<B>Deprecated.</B> This method is called on to retrieve all the FormFile input elements of the request.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#getMapping()">getMapping</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Get the ActionMapping instance for this request</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#getMaxSize(java.lang.String)">getMaxSize</A></B>(java.lang.String stringSize)</CODE>
<BR>
<B>Deprecated.</B> Gets the maximum post data size in bytes from the string representation in the configuration file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#getServlet()">getServlet</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Get the ActionServlet instance</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#getTextElements()">getTextElements</A></B>()</CODE>
<BR>
<B>Deprecated.</B> This method is called on to retrieve all the text input elements of the request.</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="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#handleRequest(javax.servlet.http.HttpServletRequest)">handleRequest</A></B>(javax.servlet.http.HttpServletRequest request)</CODE>
<BR>
<B>Deprecated.</B> This method populates the internal hashtables with multipart request data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#retrieveTempDir(org.apache.struts.config.ModuleConfig)">retrieveTempDir</A></B>(<A HREF="../../../../org/apache/struts/config/ModuleConfig.html">ModuleConfig</A> moduleConfig)</CODE>
<BR>
<B>Deprecated.</B> Retrieves the temporary directory from either ActionServlet, a context property, or a system property, in that order.</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="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#rollback()">rollback</A></B>()</CODE>
<BR>
<B>Deprecated.</B> Delete all the files uploaded.</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="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#setMapping(org.apache.struts.action.ActionMapping)">setMapping</A></B>(<A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> mapping)</CODE>
<BR>
<B>Deprecated.</B> Convienience method to set a reference to a working ActionMapping instance.</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="../../../../org/apache/struts/upload/DiskMultipartRequestHandler.html#setServlet(org.apache.struts.action.ActionServlet)">setServlet</A></B>(<A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> servlet)</CODE>
<BR>
<B>Deprecated.</B> Convienience method to set a reference to a working ActionServlet instance.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="log"><!-- --></A><H3>
log</H3>
<PRE>
protected static org.apache.commons.logging.Log <B>log</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>Commons Logging instance.</DL>
<HR>
<A NAME="servlet"><!-- --></A><H3>
servlet</H3>
<PRE>
protected <A HREF="../../../../org/apache/struts/action/ActionServlet.html">ActionServlet</A> <B>servlet</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The ActionServlet instance used for this class.</DL>
<HR>
<A NAME="mapping"><!-- --></A><H3>
mapping</H3>
<PRE>
protected <A HREF="../../../../org/apache/struts/action/ActionMapping.html">ActionMapping</A> <B>mapping</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The ActionMapping instance used for this class.</DL>
<HR>
<A NAME="fileElements"><!-- --></A><H3>
fileElements</H3>
<PRE>
protected java.util.Hashtable <B>fileElements</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>A Hashtable representing the form files uploaded.</DL>
<HR>
<A NAME="textElements"><!-- --></A><H3>
textElements</H3>
<PRE>
protected java.util.Hashtable <B>textElements</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>A Hashtable representing the form text input names and values.</DL>
<HR>
<A NAME="allElements"><!-- --></A><H3>
allElements</H3>
<PRE>
protected java.util.Hashtable <B>allElements</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>A Hashtable representing all elemnents.</DL>
<HR>
<A NAME="tempDir"><!-- --></A><H3>
tempDir</H3>
<PRE>
protected java.lang.String <B>tempDir</B></PRE>
<DL>
<DD><B>Deprecated.</B> <DD>The temporary directory.</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="DiskMultipartRequestHandler()"><!-- --></A><H3>
DiskMultipartRequestHandler</H3>
<PRE>
public <B>DiskMultipartRequestHandler</B>()</PRE>
<DL>
<DD><B>Deprecated.</B> </DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="handleRequest(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
handleRequest</H3>
<PRE>
public void <B>handleRequest</B>(javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException</PRE>
<DL>
<DD><B>Deprecated.</B> <DD>This method populates the internal hashtables with multipart request data. If the request argument is an instance of MultipartRequestWrapper, the request wrapper will be populated as well.<DD><DL>
<DT><B>Specified by: </B><DD><CODE><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html#handleRequest(javax.servlet.http.HttpServletRequest)">handleRequest</A></CODE> in interface <CODE><A HREF="../../../../org/apache/struts/upload/MultipartRequestHandler.html">MultipartRequestHandler</A></CODE></DL>
</DD>
<DD>Following copied from interface: <CODE>org.apache.struts.upload.MultipartRequestHandler</CODE></DD>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>javax.servlet.ServletException</CODE> - thrown if something goes wrong</DL>
</DD>
</DL>
<HR>
<A NAME="createTextElement(javax.servlet.http.HttpServletRequest, org.apache.struts.upload.MultipartElement)"><!-- --></A><H3>
createTextElement</H3>
<PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -