@Path(value="/st-internal") public class InternalEndpoints extends Object implements EndpointResource
Constructor and Description |
---|
InternalEndpoints() |
Modifier and Type | Method and Description |
---|---|
HealthInfo |
checkHealth(String secret,
Boolean failOnWarnings,
String sections) |
String |
forceException(String secret) |
String |
forceExceptionGet(String secret) |
SystemInformation |
getInfo(String secret) |
Object |
runJob(String secret,
String job) |
String |
viewExceptions() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postRequest, preRequest
public InternalEndpoints()
@GET @Path(value="/health") public HealthInfo checkHealth(@QueryParam(value="secret") String secret, @QueryParam(value="failOnWarnings") Boolean failOnWarnings, @QueryParam(value="sections") String sections)
@POST @Path(value="/run-job") public Object runJob(@QueryParam(value="secret") String secret, @QueryParam(value="job") String job)
@GET @Path(value="/info") public SystemInformation getInfo(@QueryParam(value="secret") String secret)
@GET @Path(value="/exceptions") @Produces(value="text/html") public String viewExceptions()
@POST @Produces(value="text/html") @Path(value="/force-exception") public String forceException(@QueryParam(value="secret") String secret)
@GET @Produces(value="text/html") @Path(value="/force-exception-get") public String forceExceptionGet(@QueryParam(value="secret") String secret)
Copyright © 2016. All rights reserved.