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

setWebApplicationType() — spring-boot Function Reference

Architecture documentation for the setWebApplicationType() function in SpringApplication.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  9fc735d3_f2de_a77c_c1a1_abf218992bd6["setWebApplicationType()"]
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"]
  16b51c89_dde4_bfa7_4c6d_cd813dd33ba3 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  96180309_d35f_64e9_f339_53aa62a53500["web()"]
  96180309_d35f_64e9_f339_53aa62a53500 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  0b65421b_309c_7ee2_a809_ee2ea4c4c274["validateReadyFlag()"]
  0b65421b_309c_7ee2_a809_ee2ea4c4c274 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  ca1eb37d_8604_c655_f4d1_7183b9dbda4d["environmentIsExposed()"]
  ca1eb37d_8604_c655_f4d1_7183b9dbda4d -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  c906105b_805c_5adf_2dec_9f17acc6a33d["whenEnvironmentContainsServerPortsPropertySourceEmbeddedWebApplicationIsDetected()"]
  c906105b_805c_5adf_2dec_9f17acc6a33d -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  8889ba9d_fde7_7c93_c008_3a9a1d97e0bc["shutdownApp()"]
  8889ba9d_fde7_7c93_c008_3a9a1d97e0bc -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  85196500_0cb2_5ed4_5db4_1d82118c940c["setup()"]
  85196500_0cb2_5ed4_5db4_1d82118c940c -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  e77d7e1f_4b67_193a_b79e_c8543c727e39["setup()"]
  e77d7e1f_4b67_193a_b79e_c8543c727e39 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  b800c066_64f8_85a0_6f05_5eaf3169f24a["setup()"]
  b800c066_64f8_85a0_6f05_5eaf3169f24a -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  9852c5a3_5ec1_6a92_df81_1e5047b0342d["cleanupOccursAfterWebServerShutdown()"]
  9852c5a3_5ec1_6a92_df81_1e5047b0342d -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  b0ede74b_3436_0cee_4317_feec64a93c6d["base64ResourceResolves()"]
  b0ede74b_3436_0cee_4317_feec64a93c6d -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  7f80927b_f287_0bc9_1c75_cc3e4ee20185["enabled()"]
  7f80927b_f287_0bc9_1c75_cc3e4ee20185 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  38d08f13_880b_ab65_5275_ce0165a05de1["disabled()"]
  38d08f13_880b_ab65_5275_ce0165a05de1 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  604cb1c9_5d08_2d5a_fd15_796242505337["disabledViaApplicationProperties()"]
  604cb1c9_5d08_2d5a_fd15_796242505337 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  style 9fc735d3_f2de_a77c_c1a1_abf218992bd6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 967–970

	public void setWebApplicationType(WebApplicationType webApplicationType) {
		Assert.notNull(webApplicationType, "'webApplicationType' must not be null");
		this.properties.setWebApplicationType(webApplicationType);
	}

Domain

Subdomains

Frequently Asked Questions

What does setWebApplicationType() do?
setWebApplicationType() is a function in the spring-boot codebase.
What calls setWebApplicationType()?
setWebApplicationType() is called by 18 function(s): SpringApplication, aotEnvironmentPostProcessorShouldBeAppliedFirst, base64ResourceResolves, checkOrderOfInitializer, cleanupOccursAfterWebServerShutdown, disabled, disabledViaApplicationProperties, enabled, and 10 more.

Analyze Your Own Codebase

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

Try Supermodel Free