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

getForMetadata() — spring-boot Function Reference

Architecture documentation for the getForMetadata() function in AbstractHttpClientMockTests.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  61880da0_5920_ea6b_a35a_acc145a6349b["getForMetadata()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd["mockSuccessfulMetadataGet()"]
  7a6e1e76_6c61_3e09_62a3_66b05b5870dd -->|calls| 61880da0_5920_ea6b_a35a_acc145a6349b
  1d632703_304b_becf_2b0e_59362ca2b826["HasAcceptHeader()"]
  61880da0_5920_ea6b_a35a_acc145a6349b -->|calls| 1d632703_304b_becf_2b0e_59362ca2b826
  style 61880da0_5920_ea6b_a35a_acc145a6349b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

cli/spring-boot-cli/src/test/java/org/springframework/boot/cli/command/init/AbstractHttpClientMockTests.java lines 135–140

	private ArgumentMatcher<HttpGet> getForMetadata(boolean serviceCapabilities) {
		if (!serviceCapabilities) {
			return new HasAcceptHeader(InitializrService.ACCEPT_META_DATA, true);
		}
		return new HasAcceptHeader(InitializrService.ACCEPT_SERVICE_CAPABILITIES, true);
	}

Domain

Subdomains

Frequently Asked Questions

What does getForMetadata() do?
getForMetadata() is a function in the spring-boot codebase.
What does getForMetadata() call?
getForMetadata() calls 1 function(s): HasAcceptHeader.
What calls getForMetadata()?
getForMetadata() is called by 1 function(s): mockSuccessfulMetadataGet.

Analyze Your Own Codebase

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

Try Supermodel Free