try { return getConnection().getOutputStream(); } catch(IOException e) { logger.log(Level.WARNING, "Unable to get the request stream", e); return null; }
return getConnection().getOutputStream();
   public OutputStream getRequestStream()   {      try      {         return getConnection().getOutputStream();      }      catch(IOException e)      {         logger.log(Level.WARNING, "Unable to get the request stream", e);         return null;      }   }