java.lang.Object
com.qubitpi.ws.jersey.template.web.endpoints.DataServlet

@Singleton @Immutable @ThreadSafe @Path("/data") @Produces("application/json") public class DataServlet extends Object
Endpoint that contains a basic sanity-check.
  • Constructor Details

    • DataServlet

      @Inject public DataServlet()
      Constructor for dependency injection.
  • Method Details

    • healthcheck

      @GET @Path("/healthcheck") public jakarta.ws.rs.core.Response healthcheck()
      A webservice sanity-check endpoint.
      Returns:
      200 OK response