public interface SitemapConverterProvider
BiFunction
converter that knows
how to handle the response on a sitemap URI.Modifier and Type | Method and Description |
---|---|
LambdaUtil.BiFunction_WithExceptions<URI,org.apache.http.HttpResponse,RsRoot,Exception> |
getConverter()
Provide the converter that returns an
RsRoot when given a URI and a HttpResponse. |
void |
setPathFinder(PathFinder pathFinder)
Set the
PathFinder that corresponds to the URI the provided converter is about to handle. |
SitemapConverterProvider |
withResourceSyncContext(ResourceSyncContext rsContext)
Set the
ResourceSyncContext for the provided converter. |
LambdaUtil.BiFunction_WithExceptions<URI,org.apache.http.HttpResponse,RsRoot,Exception> getConverter()
RsRoot
when given a URI and a HttpResponse.
The converter may throw an Exception.void setPathFinder(PathFinder pathFinder)
PathFinder
that corresponds to the URI the provided converter is about to handle.pathFinder
- PathFinder that corresponds to the URI the provided converter is about to handleSitemapConverterProvider withResourceSyncContext(ResourceSyncContext rsContext)
ResourceSyncContext
for the provided converter.rsContext
- ResourceSyncContext} for the provided converterCopyright © 2017. All rights reserved.