@RestResource(path="/shutdown", title="Shut down this resource") public class ShutdownResource extends BasicRestServlet
Constructor and Description |
---|
ShutdownResource() |
Modifier and Type | Method and Description |
---|---|
String |
shutdown()
[GET /] - Shutdown this resource.
|
getOptions
destroy, getContext, getPath, getProperties, getRequest, getResponse, getServletConfig, init, log, log, log, log, logObjects, service, setContext, setRestResourceResolver
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletContext, getServletInfo, getServletName, init
public ShutdownResource()
@RestMethod(name="GET", path="/", description="Show contents of config file.") public String shutdown()
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.