title: How to force using particular MediaType in RestEasy client
body: <p>I have a shared API and services are annotated</p>
  
  <pre><code>@Produces({"application/json","application/x-jackson-smile"})
  @Consumes({"application/json","application/x-jackson-smile"})
  public class AServiceClass {
  </code></pre>
  
  <p>So default is JSON - this will be preferred when using browser AJAX calls.</p>
  
  <p>However I have a RestEasy client which I create using </p>
  
  <pre><code>ProxyFactory.create(AServiceClass.class, url)
  </code></pre>
  
  <p>And I want this client to use SMILE for both inbound and aoutbound communication. Of course it picks first item from @Consumes and tries marshalling to JSON.</p>
  
  <p>I'm using RestEasy 2.3.5</p>
  
  <p>How to force the client to use SMILE marshalling?</p>
  
  <p>How to force the client to accept SMILE instead of JSON?</p>