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

isWebApplication() — spring-boot Function Reference

Architecture documentation for the isWebApplication() function in OnWebApplicationCondition.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  5b0840b5_f1a3_904e_54c9_3a0ab7e82a75["isWebApplication()"]
  c18e8fdf_459b_ac58_923d_955081cd3f3e["getMatchOutcome()"]
  c18e8fdf_459b_ac58_923d_955081cd3f3e -->|calls| 5b0840b5_f1a3_904e_54c9_3a0ab7e82a75
  b32bfc53_3226_5228_4ed6_7d210b96d9d3["deduceType()"]
  5b0840b5_f1a3_904e_54c9_3a0ab7e82a75 -->|calls| b32bfc53_3226_5228_4ed6_7d210b96d9d3
  b01859ba_2478_3a2f_bf50_f82f2cf68e99["isServletWebApplication()"]
  5b0840b5_f1a3_904e_54c9_3a0ab7e82a75 -->|calls| b01859ba_2478_3a2f_bf50_f82f2cf68e99
  520151f2_535d_d5bf_9904_37dd928a10f4["isReactiveWebApplication()"]
  5b0840b5_f1a3_904e_54c9_3a0ab7e82a75 -->|calls| 520151f2_535d_d5bf_9904_37dd928a10f4
  9cb1df00_a4e2_e58e_4670_1ac44ca303ae["isAnyWebApplication()"]
  5b0840b5_f1a3_904e_54c9_3a0ab7e82a75 -->|calls| 9cb1df00_a4e2_e58e_4670_1ac44ca303ae
  style 5b0840b5_f1a3_904e_54c9_3a0ab7e82a75 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnWebApplicationCondition.java lines 104–111

	private ConditionOutcome isWebApplication(ConditionContext context, AnnotatedTypeMetadata metadata,
			boolean required) {
		return switch (deduceType(metadata)) {
			case SERVLET -> isServletWebApplication(context);
			case REACTIVE -> isReactiveWebApplication(context);
			default -> isAnyWebApplication(context, required);
		};
	}

Domain

Subdomains

Calls

Called By

  • getMatchOutcome()

Frequently Asked Questions

What does isWebApplication() do?
isWebApplication() is a function in the spring-boot codebase.
What does isWebApplication() call?
isWebApplication() calls 4 function(s): deduceType, isAnyWebApplication, isReactiveWebApplication, isServletWebApplication.
What calls isWebApplication()?
isWebApplication() is called by 1 function(s): getMatchOutcome.

Analyze Your Own Codebase

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

Try Supermodel Free