se.portfolio.scam.http.command.response
Class Download

java.lang.Object
  extended byse.kmr.scam.client.http.CommandResponse
      extended byse.portfolio.scam.http.command.response.Download

public class Download
extends CommandResponse

Represents a download response.
This response can not write the content directly to the HttpServletResponse object since the url does not reflect the "real" content name.

Version:
$Revision: 1.3 $
Author:
Jöran
Created:
den 6 november 2002

Field Summary
 
Fields inherited from class se.kmr.scam.client.http.CommandResponse
BREAK, CONTINUE
 
Constructor Summary
Download(HttpServletRequest request, HttpServletResponse response, FileContentBean bean)
          Constructor for the Download object
 
Method Summary
 void execute()
          Execute the download.
 
Methods inherited from class se.kmr.scam.client.http.CommandResponse
getStatus, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Download

public Download(HttpServletRequest request,
                HttpServletResponse response,
                FileContentBean bean)
Constructor for the Download object

Parameters:
request - request object
response - response object
Method Detail

execute

public void execute()
             throws HttpException
Execute the download.

Specified by:
execute in class CommandResponse
Throws:
HttpException - thrown in case of exception in redirecting the request.


Copyright © 2003 SCAM. All Rights Reserved.