Class WebTestClientSnippetConfigurer
java.lang.Object
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<PARENT>
org.springframework.restdocs.config.SnippetConfigurer<WebTestClientRestDocumentationConfigurer,WebTestClientSnippetConfigurer>
org.springframework.restdocs.webtestclient.WebTestClientSnippetConfigurer
- All Implemented Interfaces:
ExchangeFilterFunction
public class WebTestClientSnippetConfigurer
extends org.springframework.restdocs.config.SnippetConfigurer<WebTestClientRestDocumentationConfigurer,WebTestClientSnippetConfigurer>
implements ExchangeFilterFunction
A
SnippetConfigurer
for WebFlux that can be used to configure the generated
documentation snippets.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
-
Field Summary
Fields inherited from class org.springframework.restdocs.config.SnippetConfigurer
DEFAULT_SNIPPET_ENCODING, DEFAULT_TEMPLATE_FORMAT
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ClientResponse>
filter
(ClientRequest request, ExchangeFunction next) Methods inherited from class org.springframework.restdocs.config.SnippetConfigurer
apply, withAdditionalDefaults, withDefaults, withEncoding, withTemplateFormat
Methods inherited from class org.springframework.restdocs.config.AbstractNestedConfigurer
and
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.reactive.function.client.ExchangeFilterFunction
andThen, apply
-
Method Details
-
filter
public reactor.core.publisher.Mono<ClientResponse> filter(ClientRequest request, ExchangeFunction next) - Specified by:
filter
in interfaceExchangeFilterFunction
-