Annotation Interface AutoConfigureMockMvc.HtmlUnit
- Enclosing class:
- AutoConfigureMockMvc
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Inherited
public static @interface AutoConfigureMockMvc.HtmlUnit
HtmlUnit settings.
- Since:
- 4.0.0
- Author:
- Phillip Webb
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionThe URL that should be used when expanding relative paths.booleanIf aWebClientshould be auto-configured when HtmlUnit is on the classpath.booleanIf aWebDrivershould be auto-configured when Selenium is on the classpath.
- 
Element Details- 
urlString urlThe URL that should be used when expanding relative paths.- Returns:
- the URL used to expand relative paths
 - Default:
- "http://localhost"
 
- 
webClientIf aWebClientshould be auto-configured when HtmlUnit is on the classpath. Defaults totrue.- Returns:
- if a WebClientis auto-configured
 - Default:
- true
 
- 
webDriverIf aWebDrivershould be auto-configured when Selenium is on the classpath. Defaults totrue.- Returns:
- if a WebDriveris auto-configured
 - Default:
- true
 
 
-