@Singleton public class ProductionIndexHtmlGenerator extends Object implements IndexHtmlGenerator
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 and Description |
|---|
ProductionIndexHtmlGenerator(PluginAssets pluginAssets,
com.floreysoft.jmte.Engine templateEngine,
HttpConfiguration httpConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(javax.ws.rs.core.MultivaluedMap<String,String> headers)
Get the HTML content.
|
@Inject public ProductionIndexHtmlGenerator(PluginAssets pluginAssets, com.floreysoft.jmte.Engine templateEngine, HttpConfiguration httpConfiguration) throws IOException
IOExceptionpublic String get(javax.ws.rs.core.MultivaluedMap<String,String> headers)
IndexHtmlGeneratorget in interface IndexHtmlGeneratorheaders - the HTTP request headers of the web requestCopyright © 2012–2021 Graylog, Inc.. All rights reserved.