title: How to get the text from addTextBody in a MultipartEntityBuilder?
body: <p>I am using an Android client to post data and some file in Google cloud storage:</p>
  
  <pre><code>MultipartEntityBuilder entityBuilder = MultipartEntityBuilder.create();
               entityBuilder.setMode(HttpMultipartMode.BROWSER_COMPATIBLE); 
               entityBuilder.addBinaryBody("file", file);             
               entityBuilder.addTextBody("author", author);
  </code></pre>
  
  <p>On the server side I am using a servlet to get that request.
  However, while I am able to get the file and store it, I don't know how to get what's in the addTextBody (the "author" String in my case)</p>
  
  <p>I have been searching for a while and just found someone that posted quite the same question but no one answered him. (<a href="https://stackoverflow.com/questions/22232372/how-to-get-the-text-from-a-addtextbody-in-a-miltipartentitybuilder">How to get the text from a addTextBody in a miltipartentitybuilder</a>)</p>