public static class PackWriter.PackfileUriConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CachedPackUriProvider |
cachedPackUriProvider |
private PacketLineOut |
pckOut |
private java.util.Collection<java.lang.String> |
protocolsSupported |
Constructor and Description |
---|
PackfileUriConfig(PacketLineOut pckOut,
java.util.Collection<java.lang.String> protocolsSupported,
CachedPackUriProvider cachedPackUriProvider) |
@NonNull private final PacketLineOut pckOut
@NonNull private final java.util.Collection<java.lang.String> protocolsSupported
@NonNull private final CachedPackUriProvider cachedPackUriProvider
public PackfileUriConfig(@NonNull PacketLineOut pckOut, @NonNull java.util.Collection<java.lang.String> protocolsSupported, @NonNull CachedPackUriProvider cachedPackUriProvider)
pckOut
- where to write "packfile-uri" lines to (should
output to the same stream as the one passed to
PackWriter#writePack)protocolsSupported
- list of protocols supported (e.g. "https")cachedPackUriProvider
- provider of URIs corresponding
to cached packs