Class HeadersRequestFilter
java.lang.Object
org.glassfish.jersey.microprofile.restclient.HeadersRequestFilter
- All Implemented Interfaces:
ContainerRequestFilter
,ContainerResponseFilter
@ConstrainedTo(SERVER)
public class HeadersRequestFilter
extends Object
implements ContainerRequestFilter, ContainerResponseFilter
Server side request filter used for propagation of request headers to server client request.
- Author:
- David Kral
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(ContainerRequestContext requestContext) void
filter
(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
-
Constructor Details
-
HeadersRequestFilter
public HeadersRequestFilter()
-
-
Method Details
-
filter
- Specified by:
filter
in interfaceContainerRequestFilter
-
filter
public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException - Specified by:
filter
in interfaceContainerResponseFilter
- Throws:
IOException
-