Class ProductionIndexHtmlGenerator

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

public class ProductionIndexHtmlGenerator extends Object implements 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 Details

  • 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