public abstract class MoskitoAction extends org.apache.struts.action.Action implements IStatsProducer
| Modifier | Constructor and Description |
|---|---|
protected |
MoskitoAction()
Creates a new MoskitoAction.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm bean,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
String |
getCategory()
Override this for custom category.
|
protected Interval[] |
getMonitoringIntervals()
Override this method if you want to customize monitoring intervals of your action.
|
String |
getProducerId()
Override this for custom producer id.
|
List<IStats> |
getStats() |
String |
getSubsystem()
Override this for custom subsystem.
|
abstract org.apache.struts.action.ActionForward |
moskitoExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm af,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Implement your functionality in this action.
|
protected void |
postProcessExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm af,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
This method allows you to perform some tasks after the call of the moskitoExecute.
|
protected void |
preProcessExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm af,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
This method allows you to perform some tasks prior to call to the moskitoExecute.
|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServletpublic final org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm bean,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
execute in class org.apache.struts.action.ActionExceptionAction.execute(ActionMapping, ActionForm, HttpServletRequest, HttpServletResponse)protected void preProcessExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm af,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
mapping - af - req - res - Exceptionprotected void postProcessExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm af,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
mapping - af - req - res - Exceptionpublic abstract org.apache.struts.action.ActionForward moskitoExecute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm af,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
mapping - af - req - res - Exceptionprotected Interval[] getMonitoringIntervals()
public String getCategory()
getCategory in interface IStatsProducerpublic String getSubsystem()
getSubsystem in interface IStatsProducerpublic String getProducerId()
getProducerId in interface IStatsProducerpublic List<IStats> getStats()
getStats in interface IStatsProducerCopyright © 2010-2016 anotheria.net. All Rights Reserved.