users@jersey.java.net

[Jersey] Question about ContainerRequestFilter and ContainerResponseFilter

From: Nikolaos Beredimas <beredim_at_gmail.com>
Date: Thu, 1 Dec 2016 16:54:45 +0200

In an application that uses both ContainerRequestFilter and
ContainerResponseFilter:

Suppose that the filter(ContainerRequestContext crc) of the request filter
alters the incoming request context crc

So when it's time for the response filter to run, what request context crc
does filter(ContainerRequestContext crc, ContainerResponseContext crc1) of
the response filter see?

The original one or the altered one?