Class WorkerStatsApiV2Resource

java.lang.Object
org.apache.pulsar.functions.worker.rest.api.v2.WorkerStatsApiV2Resource
All Implemented Interfaces:
Supplier<WorkerService>

@Path("/worker-stats") @Produces("application/json") @Consumes("application/json") public class WorkerStatsApiV2Resource extends Object implements Supplier<WorkerService>
  • Field Details

    • ATTRIBUTE_WORKERSTATS_SERVICE

      public static final String ATTRIBUTE_WORKERSTATS_SERVICE
      See Also:
    • servletContext

      @Context protected javax.servlet.ServletContext servletContext
    • httpRequest

      @Context protected javax.servlet.http.HttpServletRequest httpRequest
  • Constructor Details

    • WorkerStatsApiV2Resource

      public WorkerStatsApiV2Resource()
  • Method Details