se.kmr.scam.client.http.command
Class StoreUpload

java.lang.Object
  extended byse.kmr.scam.client.http.command.StoreUpload
All Implemented Interfaces:
Command

public class StoreUpload
extends Object
implements Command

Writes the content of a FileContentBean object. The object must be made available in the context of the request under the name defined by FileContentBean.NAME.
Parameters:

Arguments:
FileContentBean.NAME -> FileContentBean - Write content of this object.

Result:

Version:
$Revision: 1.6 $
Author:
Jöran
Created:
den 2 december 2002

Constructor Summary
StoreUpload()
           
 
Method Summary
 CommandResponse execute(HttpServletRequest request, HttpServletResponse response)
          Execute the designated task.
 void init(Map args)
          Initialize with predefined values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoreUpload

public StoreUpload()
Method Detail

execute

public CommandResponse execute(HttpServletRequest request,
                               HttpServletResponse response)
                        throws HttpException
Execute the designated task.

Specified by:
execute in interface Command
Parameters:
request - current request object
response - current response object
Returns:
null
Throws:
HttpException - thrown in case of exception writing the content.

init

public void init(Map args)
Initialize with predefined values

Specified by:
init in interface Command
Parameters:
args - predefined values


Copyright © 2003 SCAM. All Rights Reserved.