@RestResource(path="/debug", title="Debug", description="Debug Utilities.", htmldoc=, allowedMethodParams="OPTIONS,POST") public class DebugResource extends BasicRestServlet
Constructor and Description |
---|
DebugResource() |
Modifier and Type | Method and Description |
---|---|
String |
createJettyDump(RestRequest req,
RestResponse res)
[POST /jetty/dump] - Generates and saves the jetty thread dump file to jetty-thread-dump.log.
|
ResourceDescription[] |
getChildren()
[GET /] - Shows child utilities.
|
Reader |
getJettyDump(RestRequest req,
RestResponse res)
[GET /jetty/dump] - Generates and retrieves the jetty thread dump.
|
getOptions
destroy, getContext, getProperties, getServletConfig, init, log, log, log, log, logObjects, service
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public DebugResource()
@RestMethod(name="GET", path="/", description="Show contents of config file.") public ResourceDescription[] getChildren() throws Exception
Exception
@RestMethod(name="GET", path="/jetty/dump", description="Generates and retrieves the jetty thread dump.") public Reader getJettyDump(RestRequest req, RestResponse res)
@RestMethod(name="POST", path="/jetty/dump", description="Generates and saves the jetty thread dump file to jetty-thread-dump.log.") public String createJettyDump(RestRequest req, RestResponse res) throws Exception
Exception
Copyright © 2018 Apache. All rights reserved.