Assign custom precedence to interceptors
31.7.1. Custom Precedence You can define your own precedence families. Apply them using the @Precedence annotation. @Provider @ServerInterceptor @Precedence("MY_CUSTOM_PRECEDENCE") public class MyCustomInterceptor implements MessageBodyWriterInterceptor {...} You can create your own convenience annotation by using @Precedence as a meta-annotation @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Precedence("MY_CUSTOM_PRECEDENCE") public @interface MyCustomPrecedence {} You must register your custom precedence. Otherwise, Resteasy will give you an error at deployment time. You do this with the context params: resteasy.append.interceptor.precedence resteasy.interceptor.before.precedence resteasy.interceptor.after.precedence resteasy.append.interceptor.precedence simply appends the precedence family to the list. resteasy.interceptor.before.precedence allows you to specify a family your new precedence comes before. resteasy.interceptor.after.precedence allows you to specify a family your new precedence comes after.