code: private HttpUriRequest createPostMethod(final ServerDetails serverDetails, final IndexCommand command) throws URISyntaxException {
          LOGGER.trace("createPostMethod() called...");
  
          final HttpPost httpPost = new HttpPost(createIndexCommandURI(serverDetails, command));
          httpPost.setEntity(new PostDataHttpEntity(command.getPostData()));
          return httpPost;
      }
docs: Create a <tt>HttpClient</tt> <tt>PostMethod</tt> instance that contains the POST content.
  
  @param serverDetails The connection details of the server to use...
  @param command The command to get the POST content from
  @return a <tt>HttpUriRequest</tt> containing the contents of the <tt>Command</tt>
  @throws java.net.URISyntaxException If there was a problem converting the IndexCommand into a URI