Home / Class/ MockHttpProjectGenerationRequest Class — spring-boot Architecture

MockHttpProjectGenerationRequest Class — spring-boot Architecture

Architecture documentation for the MockHttpProjectGenerationRequest class in AbstractHttpClientMockTests.java from the spring-boot codebase.

Entity Profile

Source Code

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

	static class MockHttpProjectGenerationRequest {

		@Nullable String contentType;

		@Nullable String fileName;

		byte[] content = new byte[] { 0, 0, 0, 0 };

		MockHttpProjectGenerationRequest(@Nullable String contentType, @Nullable String fileName) {
			this(contentType, fileName, new byte[] { 0, 0, 0, 0 });
		}

		MockHttpProjectGenerationRequest(@Nullable String contentType, @Nullable String fileName, byte[] content) {
			this.contentType = (contentType != null) ? contentType : "application/text";
			this.fileName = fileName;
			this.content = content;
		}

	}

Analyze Your Own Codebase

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

Try Supermodel Free