Package fr.gouv.vitam.common.server.application

# Class ShutDownHookFilter

java.lang.Object
fr.gouv.vitam.common.server.application.ShutDownHookFilter

All Implemented Interfaces:
  `jakarta.ws.rs.container.ContainerRequestFilter`, `jakarta.ws.rs.container.ContainerResponseFilter`

public class ShutDownHookFilter extends Object implements jakarta.ws.rs.container.ContainerRequestFilter, jakarta.ws.rs.container.ContainerResponseFilter
ShutDown Hook Filter save and remove request-id in ThreadManager

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ShutDownHookFilter(ThreadManager threadManager)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `filter(jakarta.ws.rs.container.ContainerRequestContext requestContext)`
  `void`
  `filter(jakarta.ws.rs.container.ContainerRequestContext requestContext, jakarta.ws.rs.container.ContainerResponseContext responseContext)`

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

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

- ## Constructor Details

  - ### ShutDownHookFilter

    public ShutDownHookFilter(ThreadManager threadManager)

- ## Method Details

  - ### filter

    public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext, jakarta.ws.rs.container.ContainerResponseContext responseContext) throws IOException
    Specified by:
      `filter` in interface `jakarta.ws.rs.container.ContainerResponseFilter`
    Throws:
      `IOException`

  - ### filter

    public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException
    Specified by:
      `filter` in interface `jakarta.ws.rs.container.ContainerRequestFilter`
    Throws:
      `IOException`