Example: interceptor ordering and precedence
For example: web-app> Archetype RestEasy Web Application resteasy.append.interceptor.precedence END resteasy.interceptor.before.precedence ENCODER : BEFORE_ENCODER resteasy.interceptor.after.precedence ENCODER : AFTER_ENCODER resteasy.servlet.mapping.prefix /test org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap Resteasy org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher Resteasy /test/* In this web.xml file, we've define 3 new precedence families: END, BEFORE_ENCODER, and AFTER_ENCODER. Here's what the family order would look like with this configuration: SECURITY HEADER_DECORATOR BEFORE_ENCODER ENCODER AFTER_ENCODER REDIRECT DECODER END