/** * Send POST data from <code>Entry</code> to the open connection. * This also handles sending data for PUT requests * * @param connection * <code>URLConnection</code> where POST data should be sent * @return a String show what was posted. Will not contain actual file upload content * @exception IOException * if an I/O exception occurs */ protected String sendPostData(URLConnection connection) throws IOException { return postOrPutWriter.sendPostData(connection, testElement); }
private String sendPutData(URLConnection connection) throws IOException { return postOrPutWriter.sendPostData(connection, testElement); }