Home / Function/ isJsonWithPrefix() — spring-boot Function Reference

isJsonWithPrefix() — spring-boot Function Reference

Architecture documentation for the isJsonWithPrefix() function in ExportedImageTar.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  58397492_ec14_0690_6b8e_9c65bda3fa86["isJsonWithPrefix()"]
  b8ab362b_4fe6_e5b2_d808_3489dc89bd69["isManifest()"]
  b8ab362b_4fe6_e5b2_d808_3489dc89bd69 -->|calls| 58397492_ec14_0690_6b8e_9c65bda3fa86
  e87f1358_4845_bc11_216b_532f475f02af["isIndex()"]
  e87f1358_4845_bc11_216b_532f475f02af -->|calls| 58397492_ec14_0690_6b8e_9c65bda3fa86
  2aec40b0_a46c_4762_2f04_50218a262956["isManifestList()"]
  2aec40b0_a46c_4762_2f04_50218a262956 -->|calls| 58397492_ec14_0690_6b8e_9c65bda3fa86
  style 58397492_ec14_0690_6b8e_9c65bda3fa86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ExportedImageTar.java lines 233–235

		private static boolean isJsonWithPrefix(String mediaType, String prefix) {
			return mediaType.startsWith(prefix) && mediaType.endsWith("+json");
		}

Subdomains

Frequently Asked Questions

What does isJsonWithPrefix() do?
isJsonWithPrefix() is a function in the spring-boot codebase.
What calls isJsonWithPrefix()?
isJsonWithPrefix() is called by 3 function(s): isIndex, isManifest, isManifestList.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free