Interface CachedPackUriProvider
-
public interface CachedPackUriProvider
Provider of URIs corresponding to cached packs. For use with the "packfile-uris" feature.- Since:
- 5.5
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CachedPackUriProvider.PackInfo
Information about a packfile.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachedPackUriProvider.PackInfo
getInfo(CachedPack pack, Collection<String> protocolsSupported)
-
-
-
Method Detail
-
getInfo
@Nullable CachedPackUriProvider.PackInfo getInfo(CachedPack pack, Collection<String> protocolsSupported) throws IOException
- Parameters:
pack
- the cached pack for which to check if a corresponding URI existsprotocolsSupported
- the protocols that the client has declared support for; if a URI is returned, it must be of one of these protocols- Returns:
- if a URI corresponds to the cached pack, an object containing the URI and some other information; null otherwise
- Throws:
IOException
- implementations may throw this- Since:
- 5.5
-
-