title: How to POST an Array of String with Jersey
body: <p>I want to send an array of <code>String</code> directly using something like:</p>
  
  <pre><code>service....post(ClientResponse.class, new String[]{"one","two","three"} );
  </code></pre>
  
  <p>Is there a <a href="https://jersey.java.net/apidocs/1.18/jersey/javax/ws/rs/core/MediaType.html" rel="nofollow"><code>MediaType</code></a> that can be used to retrieve that array of <code>String</code> on the server?</p>
  
  <p>In my implementation I have a WARNING saying that <strong><code>String[]</code> is not resolvable to a concrete type.</strong></p>
  
  <p>How can I POST an array without encapsulating it into another (<code>@XmlRootElement</code>) class?</p>