title: How to use RESTEasy PreProcessInterceptor only in specific methods?
body: <p>I'm writing a REST API, making use of RestEasy 2.3.4.Final.
  I know that a Interceptor will intercept all of my requests, and that a PreProcessInterceptor will be the first (before everything) to be called. I would like to know how can I make this Interceptor to be called just when specific methods are called.</p>
  
  <p>I tried to use both PreProcessInterceptor and AcceptedByMethod, but I was not able to read the parameters I need.
  For example, I need to run my Interceptor only when this method is called:</p>
  
  <pre><code>@GET
  @Produces("application/json;charset=UTF8")
  @Interceptors(MyInterceptor.class)
  public List&lt;City&gt; listByName(@QueryParam("name") String name) {...}
  </code></pre>
  
  <p>To be more specific, I need to run my Interceptor in all methods whose have a <code>@QueryParam("name")</code></p>
  
  <p>on its signature, so that I can grab the name and do something before everything.</p>
  
  <p>Is it possible? I tried to catch the "name" parameter inside the Interceptor, but I was not able to do that.</p>
  
  <p>Could someone help me, please?</p>