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

web() — spring-boot Function Reference

Architecture documentation for the web() function in SpringApplicationBuilder.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 11

Entity Profile

Dependency Diagram

graph TD
  96180309_d35f_64e9_f339_53aa62a53500["web()"]
  a64bbc22_3f73_434d_d720_26462030b670["child()"]
  a64bbc22_3f73_434d_d720_26462030b670 -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  8a118e49_42e8_8550_9795_9fdf8ea8c31e["parent()"]
  8a118e49_42e8_8550_9795_9fdf8ea8c31e -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  6783843b_836b_ffe1_7b56_c6df6bf9d1bc["defaultPropertiesShouldBeMerged()"]
  6783843b_836b_ffe1_7b56_c6df6bf9d1bc -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  8d8aadad_91e9_831d_52fc_43c286ff9af8["main()"]
  8d8aadad_91e9_831d_52fc_43c286ff9af8 -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  c77fe8f7_09a5_9082_76b4_eaa5622da6dd["loggingSystemRegisteredInTheContext()"]
  c77fe8f7_09a5_9082_76b4_eaa5622da6dd -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  a967c565_3137_222a_1da8_bb27e9fc105e["logFileRegisteredInTheContextWhenApplicable()"]
  a967c565_3137_222a_1da8_bb27e9fc105e -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  7df18ae5_4388_cf89_197e_0eb635b31cfa["loggingPerformedDuringChildApplicationStartIsNotLost()"]
  7df18ae5_4388_cf89_197e_0eb635b31cfa -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  c500488c_e08a_a1c3_3543_326e5cb63454["analysisIsPerformed()"]
  c500488c_e08a_a1c3_3543_326e5cb63454 -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  cd290cc3_c512_348f_0aea_acc9eedcb653["onlyRegisteredOnceWhenThereIsAChildContext()"]
  cd290cc3_c512_348f_0aea_acc9eedcb653 -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  bdbaeb8a_5326_2c5d_9dd5_b161413d3b29["load()"]
  bdbaeb8a_5326_2c5d_9dd5_b161413d3b29 -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  60f23964_a964_410e_add0_9e7ca52f38f9["load()"]
  60f23964_a964_410e_add0_9e7ca52f38f9 -->|calls| 96180309_d35f_64e9_f339_53aa62a53500
  9fc735d3_f2de_a77c_c1a1_abf218992bd6["setWebApplicationType()"]
  96180309_d35f_64e9_f339_53aa62a53500 -->|calls| 9fc735d3_f2de_a77c_c1a1_abf218992bd6
  style 96180309_d35f_64e9_f339_53aa62a53500 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/builder/SpringApplicationBuilder.java lines 316–319

	public SpringApplicationBuilder web(WebApplicationType webApplicationType) {
		this.application.setWebApplicationType(webApplicationType);
		return this;
	}

Domain

Subdomains

Frequently Asked Questions

What does web() do?
web() is a function in the spring-boot codebase.
What does web() call?
web() calls 1 function(s): setWebApplicationType.
What calls web()?
web() is called by 11 function(s): analysisIsPerformed, child, defaultPropertiesShouldBeMerged, load, load, logFileRegisteredInTheContextWhenApplicable, loggingPerformedDuringChildApplicationStartIsNotLost, loggingSystemRegisteredInTheContext, and 3 more.

Analyze Your Own Codebase

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

Try Supermodel Free