title: @Priority annotation usage in Jersey Filter
body: <p>So I have four jersey filters, for example:</p>
  
  <pre><code>FilterOne
  FilterTwo
  FilterThree
  FilterFour
  </code></pre>
  
  <p>and I want to set @Priority in the same sequence. And my question is if I put for FilterTwo @Priority(2), for FilterThree @Priority(3) etc. Do I need to set priority for the first filter? And is this the right way to set them?</p>
  
  <p>Edit: </p>
  
  <p>Found what I need <a href="https://www.logicbig.com/tutorials/java-ee-tutorial/jax-rs/filters-ordering.html" rel="nofollow noreferrer">https://www.logicbig.com/tutorials/java-ee-tutorial/jax-rs/filters-ordering.html</a></p>