private void forwardPost(HttpURLConnection connection,HttpServletRequest request,HttpServletResponse response) throws IOException {
  connection.setDoOutput(true);
  connection.setDoInput(true);
  connection.setUseCaches(false);
  connection.setRequestMethod("POST");
  connection.setRequestProperty("Content-Type",request.getContentType());
  handleHttpRequest(connection,request,response);
  handleHttpResponse(connection,request,response);
}

private void forwardPost ( HttpURLConnection connection , HttpServletRequest request , HttpServletResponse response ) throws IOException { connection . setDoOutput ( true ) ; connection . setDoInput ( true ) ; connection . setUseCaches ( false ) ; connection . setRequestMethod ( "POST" ) ; connection . setRequestProperty ( "Content-Type" , request . getContentType ( ) ) ; handleHttpRequest ( connection , request , response ) ; handleHttpResponse ( connection , request , response ) ; }
forwards http post requests
