org.apache.storm.daemon.ui.exceptionmappers

## Class NotAliveExceptionMapper

- java.lang.Object
- - org.apache.storm.daemon.ui.exceptionmappers.NotAliveExceptionMapper

- All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<NotAliveException>

      @Provider
      public class NotAliveExceptionMapper
      extends Object
      implements javax.ws.rs.ext.ExceptionMapper<NotAliveException>

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `javax.inject.Provider<javax.servlet.http.HttpServletRequest>` | `request`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `NotAliveExceptionMapper()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | `toResponse(NotAliveException ex)`

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

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

- - ### Field Detail

    - #### request

          @Inject
          public javax.inject.Provider<javax.servlet.http.HttpServletRequest> request

  - ### Constructor Detail

    - #### NotAliveExceptionMapper

          public NotAliveExceptionMapper()

  - ### Method Detail

    - #### toResponse

          public javax.ws.rs.core.Response toResponse(NotAliveException ex)

      Specified by:
        `toResponse` in interface `javax.ws.rs.ext.ExceptionMapper<NotAliveException>`

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