Home / Class/ ServletConfigurationWithAnnotation Class — spring-boot Architecture

ServletConfigurationWithAnnotation Class — spring-boot Architecture

Architecture documentation for the ServletConfigurationWithAnnotation class in ServletContextInitializerBeansTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/test/java/org/springframework/boot/web/servlet/ServletContextInitializerBeansTests.java lines 257–271

	@Configuration(proxyBeanMethods = false)
	static class ServletConfigurationWithAnnotation {

		@Bean
		@ServletRegistration(enabled = false, name = "test", asyncSupported = false, urlMappings = "/test/*",
				loadOnStartup = 1,
				initParameters = { @WebInitParam(name = "env", value = "test"),
						@WebInitParam(name = "debug", value = "true") },
				multipartConfig = @MultipartConfig(location = "/tmp", maxFileSize = 1024, maxRequestSize = 4096,
						fileSizeThreshold = 128))
		TestServlet testServlet() {
			return new TestServlet();
		}

	}

Analyze Your Own Codebase

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

Try Supermodel Free