アノテーションインターフェース AutoConfigureMockMvc.HtmlUnit

含まれているクラス:
AutoConfigureMockMvc

@TargetSE({TYPESE,METHODSE}) @RetentionSE(RUNTIMESE) @DocumentedSE @InheritedSE public static @interface AutoConfigureMockMvc.HtmlUnit
HtmlUnit の設定。
導入:
4.0.0
作成者:
Phillip Webb
  • オプション要素の概要

    オプション要素
    修飾子と型
    オプションの要素
    説明
    相対パスを展開するときに使用する URL。
    boolean
    HtmlUnit がクラスパス上にある場合に、WebClient を自動構成する必要があるかどうか。
    boolean
    If a WebDriver should be auto-configured when Selenium is on the classpath.
  • 要素の詳細

    • url

      相対パスを展開するときに使用する URL。
      戻り値:
      相対パスを展開するために使用される URL
      デフォルト:
      "http://localhost"
    • webClient

      @PropertyMapping("webclient.enabled") boolean webClient
      If a WebClient should be auto-configured when HtmlUnit is on the classpath. Defaults to true.
      戻り値:
      if a WebClient is auto-configured
      デフォルト:
      true
    • webDriver

      @PropertyMapping("webdriver.enabled") boolean webDriver
      If a WebDriver should be auto-configured when Selenium is on the classpath. Defaults to true.
      戻り値:
      if a WebDriver is auto-configured
      デフォルト:
      true