@Path(value="/system") public class SystemResource extends RestResource
objectMapper, userService| Constructor and Description |
|---|
SystemResource(ServerStatus serverStatus,
Indexer indexer,
GracefulShutdown gracefulShutdown) |
| Modifier and Type | Method and Description |
|---|---|
String |
fields(int limit) |
String |
jvm() |
javax.ws.rs.core.Response |
pauseProcessing() |
String |
permissions() |
ReaderPermissionResponse |
readerPermissions(String username) |
javax.ws.rs.core.Response |
resumeProcessing() |
javax.ws.rs.core.Response |
shutdown() |
String |
system() |
String |
threaddump() |
javax.ws.rs.core.Response |
unlockProcessingPause() |
buildHistogramMap, buildMeterMap, buildTimerMap, bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, json, loadObjectId, page, restrictToMaster, setPrettyPrint@Inject public SystemResource(ServerStatus serverStatus, Indexer indexer, GracefulShutdown gracefulShutdown)
@GET @Produces(value="application/json") public String system()
@GET @Path(value="/fields") @Produces(value="application/json") public String fields(@QueryParam(value="limit") int limit)
@PUT @Path(value="/processing/pause") public javax.ws.rs.core.Response pauseProcessing()
@PUT @Path(value="/processing/resume") public javax.ws.rs.core.Response resumeProcessing()
@PUT @Path(value="/processing/pause/unlock") public javax.ws.rs.core.Response unlockProcessingPause()
@GET @Path(value="/jvm") @Produces(value="application/json") public String jvm()
@GET @Path(value="/threaddump") @Produces(value="text/plain") public String threaddump()
@GET @Path(value="/permissions") @Produces(value="application/json") public String permissions()
@GET
@Path(value="/permissions/reader/{username}")
@Produces(value="application/json")
public ReaderPermissionResponse readerPermissions(@PathParam(value="username")
String username)
@POST @Path(value="/shutdown") public javax.ws.rs.core.Response shutdown()
Copyright © 2012–2014 TORCH GmbH. All rights reserved.