Class DocumentationBrowserResource

java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.shared.rest.resources.documentation.DocumentationBrowserResource

@Path("/api-browser") public class DocumentationBrowserResource extends RestResource
  • Constructor Details

    • DocumentationBrowserResource

      @Inject public DocumentationBrowserResource(javax.activation.MimetypesFileTypeMap mimeTypes, HttpConfiguration httpConfiguration, com.floreysoft.jmte.Engine templateEngine, Configuration configuration)
  • Method Details

    • root

      @GET public javax.ws.rs.core.Response root(@Context javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
      Throws:
      IOException
    • index

      @GET @Produces("text/html") @Path("index.html") public String index(@Context javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
      Throws:
      IOException
    • allIndex

      @GET @Produces("text/html") @Path("/global/index.html") public String allIndex(@Context javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
      Throws:
      IOException
    • asset

      @GET @Path("/{route: .*}") public javax.ws.rs.core.Response asset(@PathParam("route") String route) throws IOException
      Throws:
      IOException