public void handleGet ( HttpRequest request , HttpResponse response ) throws HttpException , IOException { String uri = request . getRequestLine ( ) . getUri ( ) ; LOG . debug ( "uri {}" , uri ) ; try { ResponseUpdater ru = this . findResponseUpdater ( request ) ; LOG . debug ( "request updater {}" , ru ) ; ru . update ( response ) ; } catch ( IllegalStateException t ) { LOG . error ( "Cannot handle request" , t ) ; throw new HttpException ( "Cannot handle request" , t ) ; } }
Handles GET requests by calling response updater based on uri pattern .