is.read(contentBody);
int bytes = 0; int offset = 0; int max = 4096; while (( bytes = is.read( contentBody, offset, max )) != -1) { offset += bytes; }
	private String getContentBody() {		//Create a buffer big enough to hold the Content Body//		char[] content = new char[request.getContentLength()];				contentBody = new byte[ request.getContentLength() ];		String result = "";				try	{	        String encoding = request.getCharacterEncoding();	        if(encoding == null)	            encoding = "UTF-8";			//Read the Content Body into the buffer			InputStream is = request.getInputStream();			is.read(contentBody);			result = new String(contentBody, encoding);			//			BufferedReader bufRequestBody = new BufferedReader(new java.io.InputStreamReader(request.getInputStream()));//			bufRequestBody.read(content);//			bufRequestBody.close();		}		catch(IOException ioe) {			//TODO: handle this properly			System.err.println( "Error Reading the Content Body into the buffer: " + ioe );			ioe.printStackTrace();		}		return result;	}