Class GetImageAction
java.lang.Object
org.apache.struts.action.Action
ecmwf.web.controller.ECMWFAction
ecmwf.ecpds.master.plugin.http.controller.PDSAction
ecmwf.ecpds.master.plugin.http.controller.monitoring.GetImageAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Color[]
The Constant colours.static String
The date format.static final DecimalFormat
The Constant TWO_DIGITS.static final String[]
The Constant valueDescriptions.static final String[]
The Constant valueNames.Fields inherited from class ecmwf.ecpds.master.plugin.http.controller.PDSAction
RETURN_AFTER_LOGIN_KEY
Fields inherited from class ecmwf.web.controller.ECMWFAction
EXCEPTION_KEY, PATH_PARAMETERS_KEY, RETURN_AFTER_ERROR_KEY
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForward
safeAuthorizedPerform
(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ecmwf.web.model.users.User user) Safe authorized perform.Methods inherited from class ecmwf.ecpds.master.plugin.http.controller.PDSAction
getDateOptions, getISOFormat, match, safePerform, search
Methods inherited from class ecmwf.web.controller.ECMWFAction
checkTimeTaken, execute, getResource, getUser, getUserCommonName, getUserOldStyle, getUserUid, processParameterEnsuringBasePath
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Field Details
-
DATE_FORMAT
The date format. -
TWO_DIGITS
The Constant TWO_DIGITS. -
colours
The Constant colours. -
valueNames
The Constant valueNames. -
valueDescriptions
The Constant valueDescriptions.
-
-
Constructor Details
-
GetImageAction
public GetImageAction()
-
-
Method Details
-
safeAuthorizedPerform
public org.apache.struts.action.ActionForward safeAuthorizedPerform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ecmwf.web.model.users.User user) throws ecmwf.web.ECMWFException, ClassCastException Safe authorized perform. Safe authorized perform.- Specified by:
safeAuthorizedPerform
in classPDSAction
- Parameters:
mapping
- the mappingform
- the formrequest
- the requestresponse
- the responseuser
- the user- Returns:
- the action forward
- Throws:
ecmwf.web.ECMWFException
- the ECMWF exceptionClassCastException
- the class cast exception
-