<div dir="ltr">Hi,<div><br></div><div>A project we&#39;re working on has recently ran into a need to access the HTTP request headers in order they were received. This does not seem currently possible as HeaderMap is just a hash table.</div><div><br></div><div>One way I see to get this functionality would be to make HeaderMap non-final and provide a mechanism for configuring the class used for request headers, but I don&#39;t particularly like this as the HeaderMap API is fairly wide and some of the methods are semantically tricky for this particular purpose.</div><div><br></div><div>Obviously we&#39;d prefer a solution where the modifications to Undertow itself are acceptable for upstreaming so we don&#39;t have to maintain a custom fork of it. Any suggestions would be appreciated.</div></div>