接口 WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>

类型参数:
B - a self reference to the builder type
所有已知子接口:
WebTestClient.RouterFunctionSpec
所有已知实现类:
AbstractMockServerSpec, DefaultRouterFunctionSpec
封闭接口:
WebTestClient

public static interface WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>
Base specification for setting up tests without a server.
  • 方法详细资料

    • apply

      <T extends B> T apply(MockServerConfigurer configurer)
      Shortcut for pre-packaged customizations to the mock server setup.
      参数:
      configurer - the configurer to apply
    • configureClient

      WebTestClient.Builder configureClient()
      Proceed to configure and build the test client.
    • build

      WebTestClient build()
      Shortcut to build the test client.