@Singleton public class DevelopmentIndexHtmlGenerator extends Object implements IndexHtmlGenerator
IndexHtmlGenerator interface that provides a dummy "index.html" page.
This is used in the development where developers are running the web interface in an external process.| Constructor and Description |
|---|
DevelopmentIndexHtmlGenerator(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 DevelopmentIndexHtmlGenerator(com.floreysoft.jmte.Engine templateEngine,
HttpConfiguration httpConfiguration)
public 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.