figuring out how to nicely do resteasy+undertow+dagger