You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.
And the object has more "messages" attributes so after parsing it (at least in webkit) is just an array with 1 object which contains the last request in the history.
My solution was to remove Line 47 from HttpMessageList.java:
@XmlElementWrapper(name = "message")
so the output will look like this:
"messages":[{"host":"xxx.com","port":80,"protocol":"http","request":....
I don't know jersey deeply so I don't understand the cause but the extra "message" element is unneeded anyway.
Thanks for your work guys!
The text was updated successfully, but these errors were encountered:
Thanks for this! I vaguely remember complications with the jersey json generation during testing, I'll make your change and see whether it works for my test cases.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Somehow the HttpMessageList gets converted to a json which starts like this:
{"message":[{"messages":{"host":"xxx.com","port":80,"protocol":"http","request": ...
And the object has more "messages" attributes so after parsing it (at least in webkit) is just an array with 1 object which contains the last request in the history.
My solution was to remove Line 47 from HttpMessageList.java:
@XmlElementWrapper(name = "message")
so the output will look like this:
"messages":[{"host":"xxx.com","port":80,"protocol":"http","request":....
I don't know jersey deeply so I don't understand the cause but the extra "message" element is unneeded anyway.
Thanks for your work guys!
The text was updated successfully, but these errors were encountered: