org.apache.storm.daemon.drpc.webapp

## Class DRPCApplication

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

-     @ApplicationPath(value="")
      public class DRPCApplication
      extends javax.ws.rs.core.Application

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DRPCApplication()` Constructor.

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<Object>` | `getSingletons()`
    `static void` | `setup(DRPC drpc, StormMetricsRegistry metricsRegistry)`

    - ### Methods inherited from class javax.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 Detail

    - #### DRPCApplication

          public DRPCApplication()

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

  - ### Method Detail

    - #### getSingletons

          public Set<Object> getSingletons()

      Overrides:
        `getSingletons` in class `javax.ws.rs.core.Application`

    - #### setup

          public static void setup(DRPC drpc,
                                   StormMetricsRegistry metricsRegistry)

Copyright © 2019 The Apache Software Foundation. All rights reserved.