Class DocumentationBrowserResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.shared.rest.resources.documentation.DocumentationBrowserResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
userService
-
Constructor Summary
ConstructorDescriptionDocumentationBrowserResource
(javax.activation.MimetypesFileTypeMap mimeTypes, HttpConfiguration httpConfiguration, com.floreysoft.jmte.Engine templateEngine, Configuration configuration) -
Method Summary
Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
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
-