| java.lang.Object http.utils.multipartrequest.MultipartRequest http.utils.multipartrequest.ServletMultipartRequest
ServletMultipartRequest | public class ServletMultipartRequest extends MultipartRequest (Code) | | Wrapper for MultipartRequest
|
Constructor Summary | |
public | ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory) Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. | public | ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory, String strFilePrefix) Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. | public | ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory, int intMaxReadBytes) Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. | public | ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory, String strFilePrefix, int intMaxReadBytes) Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. | public | ServletMultipartRequest(HttpServletRequest request, int intMaxReadBytes) |
ServletMultipartRequest | public ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory) throws IllegalArgumentException, IOException(Code) | | Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. If you specify null for this parameter, then any files uploadedwill be silently ignored. exception: IllegalArgumentException - If the request.getContentType() does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the request.getContentLength() is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
ServletMultipartRequest | public ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory, String strFilePrefix) throws IllegalArgumentException, IOException(Code) | | Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. If you specify null for this parameter, then any files uploadedwill be silently ignored. Parameters: strFilePrefix - A prefix that will be prepended to the saved file exception: IllegalArgumentException - If the request.getContentType() does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the request.getContentLength() is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
ServletMultipartRequest | public ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory, int intMaxReadBytes) throws IllegalArgumentException, IOException(Code) | | Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. If you specify null for this parameter, then any files uploadedwill be silently ignored. Parameters: intMaxReadBytes - Overrides the MAX_BYTES_READ value, to allow arbitrarily long files. exception: IllegalArgumentException - If the request.getContentType() does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the request.getContentLength() is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
ServletMultipartRequest | public ServletMultipartRequest(HttpServletRequest request, String strSaveDirectory, String strFilePrefix, int intMaxReadBytes) throws IllegalArgumentException, IOException(Code) | | Constructor.
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. If you specify null for this parameter, then any files uploadedwill be silently ignored. Parameters: strFilePrefix - A prefix that will be prepended to the saved file Parameters: intMaxReadBytes - Overrides the MAX_BYTES_READ value, to allow arbitrarily long files. exception: IllegalArgumentException - If the request.getContentType() does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the request.getContentLength() is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
ServletMultipartRequest | public ServletMultipartRequest(HttpServletRequest request, int intMaxReadBytes) throws IllegalArgumentException, IOException(Code) | | Constructor - load into memory constructor
Parameters: request - The HttpServletRequest will be used to initialise the MultipartRequest super class. Parameters: intMaxReadBytes - Overrides the MAX_BYTES_READ value, to allow arbitrarily long files. exception: IllegalArgumentException - If the request.getContentType() does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the request.getContentLength() is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
|
|