Package fr.gouv.vitam.common.client

# Class HeaderIdClientFilter

java.lang.Object
fr.gouv.vitam.common.client.HeaderIdClientFilter

All Implemented Interfaces:
  `jakarta.ws.rs.client.ClientRequestFilter`

public class HeaderIdClientFilter extends Object implements jakarta.ws.rs.client.ClientRequestFilter
Manage the headers from the client-side perspective.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HeaderIdClientFilter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `filter(jakarta.ws.rs.client.ClientRequestContext requestContext)`
  Extracts the ids from the headers to save it in the VitamSession

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

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

- ## Constructor Details

  - ### HeaderIdClientFilter

    public HeaderIdClientFilter()

- ## Method Details

  - ### filter

    public void filter(jakarta.ws.rs.client.ClientRequestContext requestContext)
    Extracts the ids from the headers to save it in the VitamSession
    Specified by:
      `filter` in interface `jakarta.ws.rs.client.ClientRequestFilter`
    Parameters:
      `requestContext` - `ContainerRequestFilter.filter(ContainerRequestContext)`
    See Also:
      - `ContainerRequestFilter.filter(ContainerRequestContext)`