org.apache.storm.daemon.ui.filters

## Class HeaderResponseFilter

- java.lang.Object
- - org.apache.storm.daemon.ui.filters.HeaderResponseFilter

- All Implemented Interfaces:
    javax.ws.rs.container.ContainerResponseFilter

      @Provider
      public class HeaderResponseFilter
      extends Object
      implements javax.ws.rs.container.ContainerResponseFilter

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.slf4j.Logger` | `LOG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `HeaderResponseFilter(StormMetricsRegistry metricsRegistry)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `filter(javax.ws.rs.container.ContainerRequestContext containerRequestContext, javax.ws.rs.container.ContainerResponseContext containerResponseContext)`

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

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

- - ### Field Detail

    - #### LOG

          public static final org.slf4j.Logger LOG

  - ### Constructor Detail

    - #### HeaderResponseFilter

          @Inject
          public HeaderResponseFilter(StormMetricsRegistry metricsRegistry)

  - ### Method Detail

    - #### filter

          public void filter(javax.ws.rs.container.ContainerRequestContext containerRequestContext,
                             javax.ws.rs.container.ContainerResponseContext containerResponseContext)
                      throws IOException

      Specified by:
        `filter` in interface `javax.ws.rs.container.ContainerResponseFilter`
      Throws:
        `IOException`

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