BlobReference Class — spring-boot Architecture
Architecture documentation for the BlobReference class in BlobReference.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type/BlobReference.java lines 32–72
public class BlobReference extends MappedObject {
private final String digest;
private final String mediaType;
BlobReference(JsonNode node) {
super(node, MethodHandles.lookup());
this.digest = extractDigest();
this.mediaType = extractMediaType();
}
private String extractMediaType() {
String result = valueAt("/mediaType", String.class);
Assert.state(result != null, "'result' must not be null");
return result;
}
private String extractDigest() {
String result = valueAt("/digest", String.class);
Assert.state(result != null, "'result' must not be null");
return result;
}
/**
* Return the digest of the blob.
* @return the blob digest
*/
public String getDigest() {
return this.digest;
}
/**
* Return the media type of the blob.
* @return the blob media type
*/
public String getMediaType() {
return this.mediaType;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free