Class ExternalHeaderIdContainerFilter

  • All Implemented Interfaces:
    javax.ws.rs.container.ContainerRequestFilter

    @PreMatching
    @Priority(1000)
    public class ExternalHeaderIdContainerFilter
    extends java.lang.Object
    implements javax.ws.rs.container.ContainerRequestFilter
    Manage the headers from the server-side perspective.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(javax.ws.rs.container.ContainerRequestContext 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 Detail

      • ExternalHeaderIdContainerFilter

        public ExternalHeaderIdContainerFilter()
    • Method Detail

      • filter

        public void filter​(javax.ws.rs.container.ContainerRequestContext requestContext)
                    throws java.io.IOException
        Extracts the ids from the headers to save it in the VitamSession
        Specified by:
        filter in interface javax.ws.rs.container.ContainerRequestFilter
        Parameters:
        requestContext - ContainerRequestFilter.filter(ContainerRequestContext)
        Throws:
        java.io.IOException - ContainerRequestFilter.filter(ContainerRequestContext)
        See Also:
        ContainerRequestFilter.filter(ContainerRequestContext)