private void copyPostedData(HttpServletRequest req, HttpURLConnection conn) throws IOException { if (req.getMethod().equals("GET") || req.getContentLength() <= 0) { return;
private byte[] copyPostedData(HttpServletRequest req) throws IOException { int size = req.getContentLength(); if (req.getMethod().equals("GET") || size <= 0) { return null;
	private void copyPostedData(HttpServletRequest req, HttpURLConnection conn) throws IOException {		if (req.getMethod().equals("GET") || req.getContentLength() <= 0) {			return;		}		conn.setDoOutput(true);		ByteUtil.copy(req.getInputStream(), conn.getOutputStream());	}