Class DevelopmentIndexHtmlGenerator

java.lang.Object
org.graylog2.web.DevelopmentIndexHtmlGenerator
All Implemented Interfaces:
IndexHtmlGenerator

@Singleton public class DevelopmentIndexHtmlGenerator extends Object implements IndexHtmlGenerator
Development implementation of the 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 Details

    • DevelopmentIndexHtmlGenerator

      @Inject public DevelopmentIndexHtmlGenerator(com.floreysoft.jmte.Engine templateEngine, HttpConfiguration httpConfiguration)
  • Method Details

    • get

      public String get(javax.ws.rs.core.MultivaluedMap<String,String> headers)
      Description copied from interface: IndexHtmlGenerator
      Get the HTML content.
      Specified by:
      get in interface IndexHtmlGenerator
      Parameters:
      headers - the HTTP request headers of the web request
      Returns:
      the HTML string