JavaGantt 2011.1 API

eu.beesoft.gaia.app
Class FileDownloadController

java.lang.Object
  extended by eu.beesoft.gaia.app.Controller
      extended by eu.beesoft.gaia.app.FileDownloadController

public final class FileDownloadController
extends Controller

This controller serves as a file donwloader from server to the client. It uses a Application.getFile(String) method to get requested file.


Field Summary
static java.lang.String BYTES
           
static java.lang.String FILE
           
static java.lang.String FILE_LENGTH
           
static java.lang.String OFFSET
           
 
Constructor Summary
FileDownloadController()
           
 
Method Summary
protected  ApplicationResponse process(ApplicationRequest request, Context context)
          Processes the client request with given context.
 
Methods inherited from class eu.beesoft.gaia.app.Controller
addMapping, createContextForForward, failure, forward, getController, getMapping, returnFailure, returnSuccess, setMapping, success
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE

public static final java.lang.String FILE
See Also:
Constant Field Values

FILE_LENGTH

public static final java.lang.String FILE_LENGTH
See Also:
Constant Field Values

OFFSET

public static final java.lang.String OFFSET
See Also:
Constant Field Values

BYTES

public static final java.lang.String BYTES
See Also:
Constant Field Values
Constructor Detail

FileDownloadController

public FileDownloadController()
Method Detail

process

protected ApplicationResponse process(ApplicationRequest request,
                                      Context context)
Processes the client request with given context.

Specified by:
process in class Controller
Parameters:
request - - a client request
context - - a current application context
Returns:
an application response (never null)

JavaGantt 2011.1 API