The contract of a Java servlet filter is
doFilter(req, resp, chain)
You could use that if it Is more suited to your style? doFilter(req, resp, chain)
You could use that if it Is more suited to your style?Last I touched java, Jersey was really exciting to me (https://jersey.github.io/) -- netty + good annotations/flask-like syntax + access to the beast that is the JVM is everywhere I want to be. Jersey doens't necessary force you into the servlet pattern IIRC?