public static UIResults extractReplay ( HttpServletRequest httpRequest ) throws ServletException { UIResults results = ( UIResults ) httpRequest . getAttribute ( FERRET_NAME ) ; if ( results == null ) { throw new ServletException ( "No attribute.." ) ; } if ( results . wbRequest == null ) { throw new ServletException ( "No WaybackRequest.." ) ; } if ( results . uriConverter == null ) { throw new ServletException ( "No ResultURIConverter.." ) ; } if ( results . captureResults == null ) { throw new ServletException ( "No CaptureSearchResults.." ) ; } if ( results . result == null ) { throw new ServletException ( "No CaptureSearchResult.." ) ; } if ( results . resource == null ) { throw new ServletException ( "No Resource.." ) ; } return results ; }
Extract a Replay UIResults from the HttpServletRequest . Probably used by a . jsp insert responsible for rendering content into replayed Resources to enhance the Replay experience .