Package com.oorian.messaging.commands
Class ClientFileUploadCommand
java.lang.Object
com.oorian.messaging.commands.Command
com.oorian.messaging.commands.ClientFileUploadCommand
Command to initiate a file upload from the client to the server.
This command instructs the client to upload files from a form within a specified shell container. It coordinates the file upload process between the client-side form and server-side handling.
Features:
- Initiates client-to-server file uploads
- Works with shell containers and forms
- Coordinates file transfer protocol
- Generates JSON for upload configuration
Usage:
// Initiate file upload from a form
ClientFileUploadCommand upload = new ClientFileUploadCommand("mainShell", "uploadForm");
JsonObject json = upload.toJson();
- Since:
- 2007
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClientFileUploadCommand(String shellId, String formId) Constructs a new ClientFileUploadCommand for the specified shell and form. -
Method Summary
Modifier and TypeMethodDescriptiontoJson()Generates the JSON representation of this file upload command.Methods inherited from class com.oorian.messaging.commands.Command
getElementId, getId, setElementId, toString
-
Constructor Details
-
ClientFileUploadCommand
Constructs a new ClientFileUploadCommand for the specified shell and form.- Parameters:
shellId- the ID of the shell containerformId- the ID of the form containing file upload elements
-
-
Method Details