接口 WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>
- 类型参数:
B- a self reference to the builder type
- 所有已知子接口:
WebTestClient.RouterFunctionSpec
- 封闭接口:
- WebTestClient
public static interface WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>
Base specification for setting up tests without a server.
-
方法概要
修饰符和类型方法说明<T extends B>
Tapply(MockServerConfigurer configurer) Shortcut for pre-packaged customizations to the mock server setup.build()Shortcut to build the test client.Proceed to configure and build the test client.
-
方法详细资料
-
apply
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.
-