How to achieve sticky session with undertow load balancer?

According to the document, I have to use two handlers, but how?