public static UIResults extractUrlQuery ( 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 . urlResults == null ) { throw new ServletException ( "No UrlSearchResults.." ) ; } return results ; }
Extract a UrlQuery UIResults from the HttpServletRequest . Probably used by a . jsp responsible for actually drawing search results for the user .