Package fr.gouv.vitam.common.server
Class HeaderIdContainerFilter
- java.lang.Object
-
- fr.gouv.vitam.common.server.HeaderIdContainerFilter
-
- All Implemented Interfaces:
javax.ws.rs.container.ContainerRequestFilter
,javax.ws.rs.container.ContainerResponseFilter
@PreMatching @Priority(1000) public class HeaderIdContainerFilter extends java.lang.Object implements javax.ws.rs.container.ContainerRequestFilter, javax.ws.rs.container.ContainerResponseFilter
Manage the headers from the server-side perspective.
-
-
Constructor Summary
Constructors Constructor Description HeaderIdContainerFilter()
-
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 VitamSessionvoid
filter(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext)
-
-
-
Method Detail
-
filter
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext)
Extracts the ids from the headers to save it in the VitamSession- Specified by:
filter
in interfacejavax.ws.rs.container.ContainerRequestFilter
- Parameters:
requestContext
-ContainerRequestFilter.filter(ContainerRequestContext)
- See Also:
ContainerRequestFilter.filter(ContainerRequestContext)
-
filter
public void filter(javax.ws.rs.container.ContainerRequestContext requestContext, javax.ws.rs.container.ContainerResponseContext responseContext) throws java.io.IOException
- Specified by:
filter
in interfacejavax.ws.rs.container.ContainerResponseFilter
- Throws:
java.io.IOException
-
-