Package fr.gouv.vitam.storage.engine.server.rest.writeprotection

# Class WriteProtectionForbiddenFilter

java.lang.Object
fr.gouv.vitam.storage.engine.server.rest.writeprotection.WriteProtectionForbiddenFilter

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

public class WriteProtectionForbiddenFilter extends Object implements jakarta.ws.rs.container.ContainerRequestFilter
Filter to prevent access to WriteProtected APIs (reserved for primary site only)

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WriteProtectionForbiddenFilter(AlertService alertService)`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### WriteProtectionForbiddenFilter

    public WriteProtectionForbiddenFilter(AlertService alertService)

- ## Method Details

  - ### filter

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