@Singleton public class DefaultPackagePathResolver extends java.lang.Object implements PackagePathResolver
| Modifier and Type | Class and Description |
|---|---|
static interface |
DefaultPackagePathResolver.PackagePathResolvers |
HTTP, HTTPS| Constructor and Description |
|---|
DefaultPackagePathResolver(java.util.List<PackagePathResolver> delegates) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<GolangPackage> |
produce(java.lang.String packagePath) |
void |
updateCache(java.lang.String packagePath,
GolangPackage golangPackage) |
@Inject public DefaultPackagePathResolver(java.util.List<PackagePathResolver> delegates)
public java.util.Optional<GolangPackage> produce(java.lang.String packagePath)
produce in interface Factory<java.lang.String,GolangPackage>produce in interface PackagePathResolverpublic void updateCache(java.lang.String packagePath,
GolangPackage golangPackage)