public static Page getPage ( final IRequestHandler requestHandler ) { if ( requestHandler instanceof IPageRequestHandler ) { final IPageRequestHandler pageRequestHandler = ( IPageRequestHandler ) requestHandler ; return ( Page ) pageRequestHandler . getPage ( ) ; } return null ; }
Gets the page if the request handler is instance of IPageRequestHandler .