question: private void sendRequestToServer ( HttpURLConnection urlConnection , String xml ) throws RequestFailureException { try { OutputStream out = new BufferedOutputStream ( urlConnection . getOutputStream ( ) ) ; OutputStreamWriter writer = new OutputStreamWriter ( out ) ; writer . write ( xml , 0 , xml . length ( ) ) ; writer . close ( ) ; checkServerResponseCode ( urlConnection ) ; } catch ( IOException e ) { throw new RequestFailureException ( "Failed to write request to server: " , e ) ; } }
target:  Sends the request to the server.