@Path(value="/api-browser") public class DocumentationBrowserResource extends RestResource
userService
Constructor and Description |
---|
DocumentationBrowserResource(MimetypesFileTypeMap mimeTypes,
HttpConfiguration httpConfiguration,
com.floreysoft.jmte.Engine templateEngine) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
asset(String route) |
String |
index(javax.ws.rs.core.HttpHeaders httpHeaders) |
javax.ws.rs.core.Response |
root(javax.ws.rs.core.HttpHeaders httpHeaders) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
@Inject public DocumentationBrowserResource(MimetypesFileTypeMap mimeTypes, HttpConfiguration httpConfiguration, com.floreysoft.jmte.Engine templateEngine)
@GET public javax.ws.rs.core.Response root(@Context javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
IOException
@GET @Produces(value="text/html") @Path(value="index.html") public String index(@Context javax.ws.rs.core.HttpHeaders httpHeaders) throws IOException
IOException
@GET @Path(value="/{route: .*}") public javax.ws.rs.core.Response asset(@PathParam(value="route") String route) throws IOException
IOException
Copyright © 2012–2019 Graylog, Inc.. All rights reserved.