1 of 1 people found this helpful
https://community.jboss.org/thread/220840 mentions it's not trivial. Well, since you have the source it should be doable but I would expect it will be easier in Undertow.
I saw this one, but it indeed doesn't sound trivial, so thought I'd ask here and see if there is something simpler.
Thank you for the quick response!
If the client is a browser then you have almost no control over what headers are sent to the server.
This is, in fact, what cookies are for...
But I agree that in the basic and most common use case it would be enough.