Package org.graylog2.web
Class ProductionIndexHtmlGenerator
java.lang.Object
org.graylog2.web.ProductionIndexHtmlGenerator
- All Implemented Interfaces:
IndexHtmlGenerator
Production implementation of the
IndexHtmlGenerator
interface that provides an "index.html" page
including the production web interface assets.
This implementation throws an error when the web interface assets cannot be found in the classpath.-
Constructor Summary
ConstructorDescriptionProductionIndexHtmlGenerator
(PluginAssets pluginAssets, com.floreysoft.jmte.Engine templateEngine, HttpConfiguration httpConfiguration) -
Method Summary
-
Constructor Details
-
ProductionIndexHtmlGenerator
@Inject public ProductionIndexHtmlGenerator(PluginAssets pluginAssets, com.floreysoft.jmte.Engine templateEngine, HttpConfiguration httpConfiguration) throws IOException - Throws:
IOException
-
-
Method Details
-
get
Description copied from interface:IndexHtmlGenerator
Get the HTML content.- Specified by:
get
in interfaceIndexHtmlGenerator
- Parameters:
headers
- the HTTP request headers of the web request- Returns:
- the HTML string
-