| java.lang.Object http.utils.multipartrequest.MultipartRequest http.utils.multipartrequest.CgiMultipartRequest
CgiMultipartRequest | public class CgiMultipartRequest extends MultipartRequest (Code) | | Wrapper for MultipartRequest
|
Constructor Summary | |
public | CgiMultipartRequest(String strSaveDirectory) Constructor.
Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. | public | CgiMultipartRequest(String strSaveDirectory, int intMaxReadBytes) Constructor.
Parameters: strSaveDirectory - The temporary directory to save the file from where they can then be moved to wherever by thecalling process. | public | CgiMultipartRequest(int intMaxReadBytes) |
CgiMultipartRequest | public CgiMultipartRequest(String strSaveDirectory) throws IllegalArgumentException, IOException, NumberFormatException(Code) | | Constructor.
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 System.getProperty("CONTENT_TYPE") does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the System.getProperty("CONTENT_LENGTH") is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
CgiMultipartRequest | public CgiMultipartRequest(String strSaveDirectory, int intMaxReadBytes) throws IllegalArgumentException, IOException, NumberFormatException(Code) | | Constructor.
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 System.getProperty("CONTENT_TYPE") does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the System.getProperty("CONTENT_LENGTH") is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
CgiMultipartRequest | public CgiMultipartRequest(int intMaxReadBytes) throws IllegalArgumentException, IOException, NumberFormatException(Code) | | Constructor - load into memory constructor
Parameters: debug - A PrintWriter that can be used for debugging. Parameters: intMaxReadBytes - Overrides the MAX_BYTES_READ value, to allow arbitrarily long files. exception: IllegalArgumentException - If the System.getProperty("CONTENT_TYPE") does not contain a Content-Type of "multipart/form-data" or the boundary is not found. exception: IOException - If the System.getProperty("CONTENT_LENGTH") is higher than MAX_READ_BYTES or strSaveDirectory is invalid or cannot be written to. See Also: MultipartRequest.MAX_READ_BYTES |
|
|