
be.bagofwords.jobs.JobsHttpStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bow-utils Show documentation
Show all versions of bow-utils Show documentation
Utility classes that are used in the count-db project and other bow-* projects
The newest version!
package be.bagofwords.jobs;
import be.bagofwords.application.ApplicationContext;
import be.bagofwords.web.BaseController;
import spark.Request;
import spark.Response;
/**
* Created by Koen Deschacht ([email protected]) on 9/8/14.
*/
public class JobsHttpStatus extends BaseController {
private JobRunner jobRunner;
public JobsHttpStatus(ApplicationContext context) {
super("/progress");
jobRunner = context.getBean(JobRunner.class);
}
@Override
protected Object handleRequest(Request request, Response response) throws Exception {
return jobRunner.createHtmlStatus();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy