private void initializeRequestHandler ( ResponseBuilder rb ) { if ( requestHandler == null ) { // try to initialize for ( Entry < String , SolrInfoBean > entry : rb . req . getCore ( ) . getInfoRegistry ( ) . entrySet ( ) ) { if ( entry . getValue ( ) instanceof MtasRequestHandler ) { requestHandlerName = entry . getKey ( ) ; requestHandler = ( MtasRequestHandler ) entry . getValue ( ) ; break ; } } } }
Initialize request handler .