javaee / jersey

This is no longer the active Jersey repository. Please see the README.md

Home Page:http://jersey.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@PreMatching Query changes are not picked up by JsonWithPaddingInterceptor

agiannone opened this issue · comments

We have a PreMatching filter which updates the query parameters being used.

It uses calls the setRequestUri() method of the ContainerRequestContext to apply the modifications to the query parameters.

However, when we use the JSONP annotation and the JsonWithPaddingInterceptor is used, the query parameter is the original value instead of the modified value. The Interceptor uses the Provider which should in theory use the same query parameters.

How come the changes aren't reflected in the JsonWithPaddingInterceptor?

Can you provide a reproducible test case?