question: @ Override protected void doPost ( HttpServletRequest request , HttpServletResponse response ) throws ServletException , IOException { String pathInfo = request . getPathInfo ( ) ; if ( pathInfo == null ) { printError ( response , "Unsupported operation" ) ; return ; } URL url = null ; try { url = new URL ( destinationUrl + pathInfo ) ; } catch ( MalformedURLException e ) { printError ( response , "Unable to build a URL for HTTP POST request" ) ; return ; } HttpURLConnection connection = null ; try { connection = openConnection ( url ) ; } catch ( IOException e ) { printError ( response , e . getMessage ( ) ) ; return ; } try { forwardPost ( connection , request , response ) ; } catch ( IOException e ) { printError ( response , e . getMessage ( ) ) ; return ; } finally { closeConnection ( connection ) ; } }
target:  Handles client's HTTP POST requests