Fish & Chips Club 4.10.0.0

hirondelle.fish.exercise.fileupload
Class ImageDownloadAction

Object
  extended by ActionImpl
      extended by 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.


Field Summary
static SqlId FETCH_IMAGE
           
static RequestParameter IMAGE_ID
           
 
Fields inherited from class ActionImpl
DATA, ERRORS, ITEM_FOR_EDIT, ITEMS_FOR_LISTING, MESSAGES, USER_ID
 
Constructor Summary
ImageDownloadAction(RequestParser aRequestParser)
           
 
Method Summary
 ResponsePage execute()
           
 
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
 

Field Detail

IMAGE_ID

public static final RequestParameter IMAGE_ID

FETCH_IMAGE

public static final SqlId FETCH_IMAGE
Constructor Detail

ImageDownloadAction

public ImageDownloadAction(RequestParser aRequestParser)
Method Detail

execute

public ResponsePage execute()
                     throws AppException
Specified by:
execute in interface Action
Specified by:
execute in class ActionImpl
Throws:
AppException

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26