title: POST parameters not seen by ResourceRequest.getParameter
body: <p>In Liferay 7 I have a servlet that can serve a resource:</p>
  
  <pre><code>@Override
  public void serveResource(
          ResourceRequest resourceRequest, ResourceResponse resourceResponse)
          throws PortletException {
  
      // Get the parameter
      log.info("Text:" + resourceRequest.getParameter("text"));
  
      // Some debug info
      log.info("Parameters:" + Collections.list(resourceRequest.getParameterNames()));
      log.info("ResourceRequest:" + resourceRequest);
      log.info("Private:" + resourceRequest.getPrivateParameterMap());
  }
  </code></pre>
  
  <p>I call it with POST, here is the request seen by Wireshark:</p>
  
  <pre><code>POST /web/guest/home?p_p_id=nico_my_portlet_MyPortlet_INSTANCE_8bdmSyTiB7R1&amp;p_p_lifecycle=2&amp;p_p_state=normal&amp;p_p_mode=view&amp;p_p_resource_id=addResUrl&amp;p_p_cacheability=cacheLevelPage HTTP/1.1
  Host: localhost:8080
  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
  Accept: */*
  Accept-Language: en-US,en;q=0.5
  Accept-Encoding: gzip, deflate
  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
  x-requested-with: XMLHttpRequest
  Referer: http://localhost:8080/
  Content-Length: 53
  Cookie: COOKIE_SUPPORT=true; USER_UUID=3553584d6b565a536f614863774a6b486d39477a4f486671726b696452533248654c4c62486a3669376e303d; SCREEN_NAME=5850595471493466547236592b557174726e4e5a39413d3d; LOGIN=74657374406c6966657261792e636f6d; GUEST_LANGUAGE_ID=en_US; COMPANY_ID=20116; REMEMBER_ME=true; ID=6b76544c52356b5464343664464e4e6d784a30696e673d3d; PASSWORD=5850595471493466547236592b557174726e4e5a39413d3d; JSESSIONID=D910A4DFF4E53D40BFF02EABE79D07EF
  DNT: 1
  Connection: keep-alive
  
  text=Bonjour&amp;note=Bla
  </code></pre>
  
  <p>Log output:</p>
  
  <pre><code>Text:null
  Parameters:[]
  ResourceRequest:com.liferay.portlet.ResourceRequestImpl@7c4acfc2
  Private:{}
  </code></pre>
  
  <p>Why does <code>getParameter</code> return <code>null</code> instead of <code>"Bonjour"</code>?</p>