title: Amdatu multi-part-form @FormParam is always null
body: <p>So i use Amdatu inside a Felix framework to create an OSGi enabled JSON Rest Service.</p>
  
  <p>When i use @GET i get the id value as expected</p>
  
  <pre><code>@GET
  @Produces(MediaType.APPLICATION_JSON)
  @Path("file")
  public String getFile(@QueryParam("id") String id) {
      System.out.println("id : "+id);
      return null;
  }
  </code></pre>
  
  <p>When i use @POST FormParam is always null</p>
  
  <pre><code>@POST
  @Produces(MediaType.APPLICATION_JSON)
  @Consumes(MediaType.MULTIPART_FORM_DATA)
  @Path("file")
  public String getFile(@FormParam("id") String id) {
         System.out.println("id : "+id);
         return null;
  }
  </code></pre>
  
  <p>When i use @POST but with application JSON i always get the entire raw json and not the value.</p>
  
  <p>I followed this video : <a href="http://www.amdatu.org/howto/createwebapp.html" rel="nofollow">http://www.amdatu.org/howto/createwebapp.html</a></p>
  
  <pre><code>@POST
  @Consumes(MediaType.APPLICATION_JSON)
  @Path("file")
  public String getFile(String id) throws Exception { 
      return id
  }
  </code></pre>
  
  <p>I'm using the advanced rest client plugin for chrome to test the service.</p>
  
  <p>Using libraries</p>
  
  <pre><code>org.amdatu.web.rest.jaxrs:1.0.4
  org.amdatu.web.rest.wink:1.0.8
  jackson-jaxrs:1.9.13
  jackson-mapper-asl:1.9.13
  jackson-core-asl:1.9.13
  </code></pre>
  
  <p>Update :</p>
  
  <p>I had the depedencies in my maven bundle set to "provided" by changing them to "compile" MediaType.APPLICATION_FORM_URLENCODED now works. </p>
  
  <p>But the MediaType.MULTIPART_FORM_DATA still doesnt.</p>
  
  <p>During the post of the form my header is :</p>
  
  <pre><code>Content-Type: multipart/form-data
  </code></pre>
  
  <p>if i remove the @FormParam then the id is filled with :</p>
  
  <pre><code>id : --ARCFormBoundary5xbnwa6as8aor
  Content-Disposition: form-data; name="id"
  
  9
  --ARCFormBoundary5xbnwa6as8aor--
  </code></pre>
  
  <p>the moment i add @FormParam the value is null.</p>