Class ShutdownResource

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.juneau.rest.servlet.RestServlet
org.apache.juneau.rest.servlet.BasicRestServlet
org.apache.juneau.microservice.resources.ShutdownResource
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, BasicUniversalConfig, DefaultConfig, DefaultHtmlConfig, BasicRestOperations

public class ShutdownResource extends BasicRestServlet
Provides the capability to shut down this REST microservice through a REST call.
See Also:
  • Constructor Details

  • Method Details

    • shutdown

      public String shutdown()
      [GET /] - Shutdown this resource.
      Returns:
      The string "OK".