hirondelle.fish.exercise.fileupload
Class ImageDownloadAction
Object
ActionImpl
hirondelle.fish.exercise.fileupload.ImageDownloadAction
- All Implemented Interfaces:
- Action
public final class ImageDownloadAction
- extends ActionImpl
Fetch an image from the database, and serve it directly to the client, without using a JSP.
Methods inherited from class ActionImpl |
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IMAGE_ID
public static final RequestParameter IMAGE_ID
FETCH_IMAGE
public static final SqlId FETCH_IMAGE
ImageDownloadAction
public ImageDownloadAction(RequestParser aRequestParser)
execute
public ResponsePage execute()
throws AppException
- Specified by:
execute
in interface Action
- Specified by:
execute
in class ActionImpl
- Throws:
AppException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26