@ SuppressWarnings ( "unchecked" ) protected < D > void evalResponse ( Request request , Deferred < D > deferred , Class < D > resolveType , Class < ? > parametrizedType , RawResponse response ) { if ( parametrizedType != null ) { processor . process ( request , response , parametrizedType , ( Class < Collection > ) resolveType , ( Deferred < Collection > ) deferred ) ; } else { processor . process ( request , response , resolveType , deferred ) ; } }
Evaluates the response and resolves the deferred . This method must be called by implementations after the response is received .