Package org.apache.storm.daemon.drpc.webapp

# Class DRPCApplication

java.lang.Object
jakarta.ws.rs.core.Application
org.apache.storm.daemon.drpc.webapp.DRPCApplication

@ApplicationPath("") public class DRPCApplication extends jakarta.ws.rs.core.Application

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DRPCApplication()`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Set<Object>`
  `getSingletons()`
  `static void`
  `setup(DRPC drpc, StormMetricsRegistry metricsRegistry)`

  ### Methods inherited from class jakarta.ws.rs.core.Application

  `getClasses, getProperties`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DRPCApplication

    public DRPCApplication()
    Constructor. Creates new instance of DRPCResource, DRPCExceptionMapper and AuthorizationExceptionMapper and adds them to a set which can be retrieved later.

- ## Method Details

  - ### getSingletons

    public Set<Object> getSingletons()
    Overrides:
      `getSingletons` in class `jakarta.ws.rs.core.Application`

  - ### setup

    public static void setup(DRPC drpc, StormMetricsRegistry metricsRegistry)