
net.anotheria.moskito.webui.threads.action.HistoryOffAction Maven / Gradle / Ivy
package net.anotheria.moskito.webui.threads.action;
import net.anotheria.maf.action.ActionCommand;
import net.anotheria.maf.action.ActionMapping;
import net.anotheria.maf.bean.FormBean;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Switches the history off.
*/
public class HistoryOffAction extends ThreadsHistoryAction{
@Override
public ActionCommand execute(ActionMapping mapping, FormBean formBean,
HttpServletRequest req, HttpServletResponse res) throws Exception {
getThreadAPI().deactivateHistory();
return super.execute(mapping, formBean, req, res);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy