public class FileController
extends org.springframework.web.servlet.mvc.multiaction.MultiActionController
DEFAULT_COMMAND_NAME, LAST_MODIFIED_METHOD_SUFFIX, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger
Constructor and Description |
---|
FileController()
Constructor for FileController.
|
FileController(Object delegate)
Constructor for FileController.
|
Modifier and Type | Method and Description |
---|---|
FileService |
getFileService()
Getter for the field
fileService . |
org.springframework.validation.Validator |
getValidator()
Getter for the field
validator . |
org.springframework.web.servlet.ModelAndView |
handleCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Lane command)
Handles the user's request to cancel the lane or the lane update page.
|
org.springframework.web.servlet.ModelAndView |
handleDelete(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
File command)
Handles the user's request to delete their file.
|
org.springframework.web.servlet.ModelAndView |
handleReset(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Lane command)
Handles the user's request to reset the lane page during a new or update lane.
|
org.springframework.web.servlet.ModelAndView |
handleSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Lane command)
Handles the user's request to submit a new lane.
|
org.springframework.web.servlet.ModelAndView |
handleUpdate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Lane command)
Handles the user's request to update their lane.
|
void |
setFileService(FileService fileService)
Setter for the field
fileService . |
void |
setValidator(org.springframework.validation.Validator validator)
Setter for the field
validator . |
bind, createBinder, getCommandName, getExceptionHandler, getLastModified, getMethodNameResolver, getValidators, getWebBindingInitializer, handleNoSuchRequestHandlingMethod, handleRequestInternal, initBinder, invokeNamedMethod, newCommandObject, setDelegate, setMethodNameResolver, setValidators, setWebBindingInitializer
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
public FileService getFileService()
Getter for the field fileService
.
FileService
object.public void setFileService(FileService fileService)
Setter for the field fileService
.
fileService
- a FileService
object.public org.springframework.validation.Validator getValidator()
Getter for the field validator
.
Validator
object.public void setValidator(org.springframework.validation.Validator validator)
Setter for the field validator
.
validator
- a Validator
object.public org.springframework.web.servlet.ModelAndView handleSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Lane command) throws Exception
request
- HttpServletRequestresponse
- HttpServletResponsecommand
- Lane command objectException
- if any.public org.springframework.web.servlet.ModelAndView handleReset(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Lane command) throws Exception
request
- HttpServletRequestresponse
- HttpServletResponsecommand
- Lane command objectException
- if any.public org.springframework.web.servlet.ModelAndView handleCancel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Lane command) throws Exception
request
- HttpServletRequestresponse
- HttpServletResponsecommand
- Lane command objectException
- if any.public org.springframework.web.servlet.ModelAndView handleUpdate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Lane command) throws Exception
request
- HttpServletRequestresponse
- HttpServletResponsecommand
- Lane command objectException
- if any.public org.springframework.web.servlet.ModelAndView handleDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, File command) throws Exception
command
- file command objectrequest
- a HttpServletRequest
object.response
- a HttpServletResponse
object.ModelAndView
object.Exception
- if any.Copyright © 2015 SeqWare. All rights reserved.