use of spark.servlet.SparkApplication in project ddf by codice.
the class SparkServlet method init.
@Override
public void init(ServletConfig config) throws ServletException {
super.init(config);
ServletFlag.runFromServlet();
populateWrapperSupplier(config);
populateSparkApplications(config);
sparkApplications.stream().sequential().forEach(SparkApplication::init);
filterPath = getConfigPath(filterMappingPattern, config);
matcherFilter = new MatcherFilter(ServletRoutes.get(), StaticFilesConfiguration.servletInstance, false, false);
}
use of spark.servlet.SparkApplication in project ddf by codice.
the class SparkServlet method init.
@Override
public void init(ServletConfig config) throws ServletException {
super.init(config);
ServletFlag.runFromServlet();
populateWrapperSupplier(config);
populateSparkApplications(config);
sparkApplications.stream().sequential().forEach(SparkApplication::init);
filterPath = getConfigPath(filterMappingPattern, config);
matcherFilter = new MatcherFilter(ServletRoutes.get(), StaticFilesConfiguration.servletInstance, false, false);
}
Aggregations