public static interface WebTestClient.MockServerSpec<B extends WebTestClient.MockServerSpec<B>>
| Modifier and Type | Method and Description |
|---|---|
WebTestClient |
build()
Shortcut to build the test client.
|
WebTestClient.Builder |
configureClient()
Proceed to configure and build the test client.
|
<T extends B> |
exchangeMutator(UnaryOperator<org.springframework.web.server.ServerWebExchange> mutator)
Configure a transformation function on
ServerWebExchange to
be applied at the start of server-side, request processing. |
<T extends B> |
webFilter(org.springframework.web.server.WebFilter... filter)
Configure
WebFilter's for server request processing. |
<T extends B> T exchangeMutator(UnaryOperator<org.springframework.web.server.ServerWebExchange> mutator)
ServerWebExchange to
be applied at the start of server-side, request processing.mutator - the transforming function.ServerWebExchange.mutate()<T extends B> T webFilter(org.springframework.web.server.WebFilter... filter)
WebFilter's for server request processing.filter - one or more filtersWebTestClient.Builder configureClient()
WebTestClient build()