Just curious - why do you need it as a HTTP header?
1 of 1 people found this helpful
OOTB this is not supported as it is not a common scenario to be using this.
As browsers wont sent this header by default unless you do some magic
what you can do is implement your version of SessionManager that would handle that.
To register it for your deployment, you will need to implement http://undertow.io/documentation/servlet/servlet-extensions.html
that will expose you options to register custom session manager.
Tomaz Cerar thanks for the reply.
To clarify my initial request:
- The client is not a browser is a mobile app.
- The only reason why I need to pass the session as http header and not by other modes is that the client determine that mode to exchange session,
I will investigate the servlet-extensions.