Class GraylogErrorPageGenerator

java.lang.Object
org.graylog2.rest.GraylogErrorPageGenerator
All Implemented Interfaces:
org.glassfish.grizzly.http.server.ErrorPageGenerator

public class GraylogErrorPageGenerator extends Object implements org.glassfish.grizzly.http.server.ErrorPageGenerator
  • Constructor Details

    • GraylogErrorPageGenerator

      @Inject public GraylogErrorPageGenerator(com.floreysoft.jmte.Engine templateEngine) throws IOException
      Throws:
      IOException
  • Method Details

    • generate

      public String generate(org.glassfish.grizzly.http.server.Request request, int status, String reasonPhrase, String description, Throwable exception)
      Specified by:
      generate in interface org.glassfish.grizzly.http.server.ErrorPageGenerator