-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide ContainerRequestContext to decorateResponse #135
Comments
…teResponse arguments.
Can you please describe your use-case/ what information is needed to be accessed from |
I'm trying to get the path parameters through the URI info as well as some properties that were set using |
Why
it is passing in the |
There are some information injected in the request via setProperty that I need to access after the query is processed. Also I need to know the status code as well as the uriinfo at the same time. |
Hey @pavolloffay any news on this ? Thanks. |
This is pity because we have just released 1.0 and this is breaking change. We will have to overload the response method and deprecate the old one. |
Indeed. |
It's already released. We build this against java 1.7. |
A sorry yes I meant java8. |
That should be fine, it's backward compatible. |
There are scenarios where information held in the ContainerRequestContext need to be accessed in the decorateResponse method (properties, uriInfo...).
Do you see any value into adding the ContainerRequestContext in the decorateResponse response arguments ?
Thanks
The text was updated successfully, but these errors were encountered: