Wow, I was 100% sure 1.3.X was for Java 8+ only!! I even added a comment in one of my pom.xml :

We currently use version 1.2.X because
1.3.X requires Java 8.

I must be crazy!! Anyway, that's good news for me.

You can have a look at my actual code here:
https://github.com/spincast/spincast-framework/blob/master/spincast-plugins/spincast-plugins-undertow-parent/spincast-plugins-undertow/src/main/java/org/spincast/plugins/undertow/SpincastUndertowServer.java

The "getFinalHandler()" method returns the first handler of the chain.

But It would probably be easier if I would provide a small example to show my specific issue... I'll do that, as soon as possible.

Thanks for your help Tomaz!

Julien

On 2016-07-21 19:13, Tomaž Cerar wrote:

On Thu, Jul 21, 2016 at 8:06 PM, electrotype <electrotype@gmail.com> wrote:
I'm using Undertow 1.2.12.Final (for its Java 7 compatibility).

1.3.x is also java7 compatible. So better use that.

Can you show us the code that sets up handler chain for your server?
That way it will be easier to help.

-
tomaz