Class StatusWebService

All Implemented Interfaces:
HttpUtil

public class StatusWebService extends WebService
A status API web service. This service provides a server-side status API for simple version information.
Version:
1.0
  • Constructor Details

    • StatusWebService

      public StatusWebService(String id, String type, Dict dict)
      Creates a new status web service from a serialized representation.
      Parameters:
      id - the object identifier
      type - the object type name
      dict - the serialized representation
  • Method Details

    • methodsImpl

      protected String[] methodsImpl(Request request)
      Returns the HTTP methods implemented for the specified request. The OPTIONS or HEAD methods doesn't have to be added to the result (added automatically later).
      Specified by:
      methodsImpl in class WebService
      Parameters:
      request - the request to check
      Returns:
      the array of HTTP method names supported
      See Also:
    • doGet

      protected void doGet(Request request)
      Processes an HTTP GET request.
      Overrides:
      doGet in class WebService
      Parameters:
      request - the request to process