eu.beesoft.gaia.app
Class FileDownloadController
java.lang.Object
eu.beesoft.gaia.app.Controller
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
FileDownloadController
public FileDownloadController()
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 requestcontext
- - a current application context
- Returns:
- an application response (never null)