Package it.pagopa.swclient.mil
Class CommonHeadersValidatorFilter
java.lang.Object
it.pagopa.swclient.mil.CommonHeadersValidatorFilter
- All Implemented Interfaces:
jakarta.ws.rs.container.ContainerRequestFilter
@Provider
@PreMatching
@Priority(5000)
public class CommonHeadersValidatorFilter
extends Object
implements jakarta.ws.rs.container.ContainerRequestFilter
Validates RequestId and Version headers if they are present.
- Author:
- Antonio Tarricone
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(jakarta.ws.rs.container.ContainerRequestContext requestContext) Validates RequestId and Version headers if they are present.
-
Constructor Details
-
CommonHeadersValidatorFilter
public CommonHeadersValidatorFilter()Default constructor.
-
-
Method Details
-
filter
public void filter(jakarta.ws.rs.container.ContainerRequestContext requestContext) throws IOException Validates RequestId and Version headers if they are present.
- Specified by:
filter
in interfacejakarta.ws.rs.container.ContainerRequestFilter
- Throws:
IOException
- See Also:
-