Package fr.gouv.vitam.access.internal.serve.filter

# Class AccessContractIdHeaderHelper

java.lang.Object
fr.gouv.vitam.access.internal.serve.filter.AccessContractIdHeaderHelper

public class AccessContractIdHeaderHelper extends Object
Helper class to manage the X_ACCESS_CONTRAT_ID and VitamSession links

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `manageAccessContractFromHeader(jakarta.ws.rs.core.MultivaluedMap<String,String> requestHeaders, AdminManagementClientFactory adminManagementClientFactory)`
  Extracts the X_ACCESS_CONTRACT_ID from the headers to save it through the VitamSession

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

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

- ## Method Details

  - ### manageAccessContractFromHeader

    public static void manageAccessContractFromHeader(jakarta.ws.rs.core.MultivaluedMap<String,String> requestHeaders, AdminManagementClientFactory adminManagementClientFactory) throws MissingAccessContractIdException
    Extracts the X_ACCESS_CONTRACT_ID from the headers to save it through the VitamSession
    Parameters:
      `requestHeaders` - Complete list of HTTP message headers ; will not be changed.
    Throws:
      `MissingAccessContractIdException`