/** * Retrieves a list containing the search references returned from the search * operation before this exception was thrown. This will only be available if * a {@code SearchResultListener} was not used during the search. * * @return A list containing the search references returned from the search * operation before this exception was thrown, or {@code null} if a * {@code SearchResultListener} was used during the search. */ public List<SearchResultReference> getSearchReferences() { return searchResult.getSearchReferences(); }
/** * Retrieves a list containing the search references returned from the search * operation before this exception was thrown. This will only be available if * a {@code SearchResultListener} was not used during the search. * * @return A list containing the search references returned from the search * operation before this exception was thrown, or {@code null} if a * {@code SearchResultListener} was used during the search. */ public List<SearchResultReference> getSearchReferences() { return searchResult.getSearchReferences(); }
for (SearchResultReference ref: sr.getSearchReferences()) Collections.addAll(referrals, ref.getReferralURLs());
for (SearchResultReference ref: sr.getSearchReferences()) Collections.addAll(referrals, ref.getReferralURLs());
searchResult.getReferralURLs(), searchResult.getSearchEntries(), searchResult.getSearchReferences(), searchResult.getEntryCount(), searchResult.getReferenceCount(), searchResult.getMatchedDN(), searchResult.getReferralURLs(), searchResult.getSearchEntries(), searchResult.getSearchReferences(), searchResult.getEntryCount(), searchResult.getReferenceCount(),