|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.apache.struts.upload.DiskMultipartRequestHandler
This is a MultipartRequestHandler that writes file data directly to to temporary files on disk.
| フィールドの概要 | |
protected java.util.Hashtable |
allElements
推奨されていません。 A Hashtable representing all elemnents. |
protected java.util.Hashtable |
fileElements
推奨されていません。 A Hashtable representing the form files uploaded. |
protected static org.apache.commons.logging.Log |
log
推奨されていません。 Commons Logging instance. |
protected ActionMapping |
mapping
推奨されていません。 The ActionMapping instance used for this class. |
protected ActionServlet |
servlet
推奨されていません。 The ActionServlet instance used for this class. |
protected java.lang.String |
tempDir
推奨されていません。 The temporary directory. |
protected java.util.Hashtable |
textElements
推奨されていません。 A Hashtable representing the form text input names and values. |
| インタフェース org.apache.struts.upload.MultipartRequestHandler から継承したフィールド |
ATTRIBUTE_MAX_LENGTH_EXCEEDED |
| コンストラクタの概要 | |
DiskMultipartRequestHandler()
推奨されていません。 |
|
| メソッドの概要 | |
protected void |
createDiskFile(MultipartElement element)
推奨されていません。 |
protected void |
createTextElement(javax.servlet.http.HttpServletRequest request,
MultipartElement element)
推奨されていません。 |
void |
finish()
推奨されていません。 Calls on rollback() to delete
temporary files. |
java.util.Hashtable |
getAllElements()
推奨されていません。 This method returns all elements of a multipart request. |
java.util.Hashtable |
getFileElements()
推奨されていません。 This method is called on to retrieve all the FormFile input elements of the request. |
ActionMapping |
getMapping()
推奨されていません。 Get the ActionMapping instance for this request |
protected long |
getMaxSize(java.lang.String stringSize)
推奨されていません。 Gets the maximum post data size in bytes from the string representation in the configuration file. |
ActionServlet |
getServlet()
推奨されていません。 Get the ActionServlet instance |
java.util.Hashtable |
getTextElements()
推奨されていません。 This method is called on to retrieve all the text input elements of the request. |
void |
handleRequest(javax.servlet.http.HttpServletRequest request)
推奨されていません。 This method populates the internal hashtables with multipart request data. |
protected void |
retrieveTempDir(ModuleConfig moduleConfig)
推奨されていません。 Retrieves the temporary directory from either ActionServlet, a context property, or a system property, in that order. |
void |
rollback()
推奨されていません。 Delete all the files uploaded. |
void |
setMapping(ActionMapping mapping)
推奨されていません。 Convienience method to set a reference to a working ActionMapping instance. |
void |
setServlet(ActionServlet servlet)
推奨されていません。 Convienience method to set a reference to a working ActionServlet instance. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
protected static org.apache.commons.logging.Log log
protected ActionServlet servlet
protected ActionMapping mapping
protected java.util.Hashtable fileElements
protected java.util.Hashtable textElements
protected java.util.Hashtable allElements
protected java.lang.String tempDir
| コンストラクタの詳細 |
public DiskMultipartRequestHandler()
| メソッドの詳細 |
public void handleRequest(javax.servlet.http.HttpServletRequest request)
throws javax.servlet.ServletException
MultipartRequestHandler 内の handleRequestjavax.servlet.ServletException - thrown if something goes wrong
protected void createTextElement(javax.servlet.http.HttpServletRequest request,
MultipartElement element)
protected void createDiskFile(MultipartElement element)
public java.util.Hashtable getAllElements()
MultipartRequestHandler の記述:
MultipartRequestHandler 内の getAllElementspublic java.util.Hashtable getTextElements()
MultipartRequestHandler の記述:
MultipartRequestHandler 内の getTextElementspublic java.util.Hashtable getFileElements()
MultipartRequestHandler の記述:
MultipartRequestHandler 内の getFileElementsFormFilepublic void rollback()
MultipartRequestHandler 内の rollbackpublic void finish()
rollback() to delete
temporary files.
MultipartRequestHandler 内の finishpublic void setServlet(ActionServlet servlet)
MultipartRequestHandler の記述:
MultipartRequestHandler 内の setServletpublic void setMapping(ActionMapping mapping)
MultipartRequestHandler の記述:
MultipartRequestHandler 内の setMappingpublic ActionServlet getServlet()
MultipartRequestHandler の記述:
MultipartRequestHandler 内の getServletpublic ActionMapping getMapping()
MultipartRequestHandler の記述:
MultipartRequestHandler 内の getMapping
protected long getMaxSize(java.lang.String stringSize)
throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected void retrieveTempDir(ModuleConfig moduleConfig)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||