question: private void doGetHelper ( HttpServletRequest request , HttpServletResponse response ) throws ServletException , IOException { logger . log ( Level . INFO , "request: " + request . getRequestURI ( ) ) ; final RequestAndResponse requestAndResponse = new RequestAndResponse ( request , response ) ; standardResponseStuff ( requestAndResponse ) ; final String fullUri = request . getRequestURI ( ) ; requestAndResponse . setOverrideUri ( fullUri ) ; if ( fullUri . equals ( "/" ) ) { handleHtmlIndexPage ( requestAndResponse ) ; return ; } if ( fullUri . equals ( "/robots.txt" ) ) { handleRobotsTxt ( requestAndResponse ) ; return ; } final ArrayList < String > uris = splitUris ( fullUri ) ; if ( uris == null ) { returnHtml404 ( requestAndResponse ) ; return ; } requestAndResponse . moreThanOneUri = uris . size ( ) > 1 ; if ( uris . size ( ) > 1 ) { requestAndResponse . justGetTitle = true ; for ( int i = 0 ; i < uris . size ( ) ; ++ i ) { final String uri = uris . get ( i ) ; requestAndResponse . setOverrideUri ( uri ) ; routeSingleGetRequest ( requestAndResponse , uri ) ; } requestAndResponse . justGetTitle = false ; requestAndResponse . titleAlreadyFormed = true ; } for ( int i = 0 ; i < uris . size ( ) ; ++ i ) { final String uri = uris . get ( i ) ; requestAndResponse . setOverrideUri ( uri ) ; if ( uris . size ( ) > 1 ) { if ( i == 0 ) { requestAndResponse . skipFooter = true ; } else if ( i == uris . size ( ) - 1 ) { requestAndResponse . skipHeader = true ; requestAndResponse . skipFooter = false ; } else { requestAndResponse . skipHeader = true ; } } routeSingleGetRequest ( requestAndResponse , uri ) ; } }
target:  Does the real work of doGet(). 