Package com.norconex.crawler.core.fetch
Interface MultiFetcher.ResponseAggregator
- Enclosing class:
MultiFetcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionaggregate(FetchRequest request, List<FetchResponse> multiResponse) Aggregate multiple results to produce a single one.
-
Method Details
-
aggregate
Aggregate multiple results to produce a single one.- Parameters:
request- the original requestmultiResponse- responses to aggregate- Returns:
- new response
-