Class WebTestClientSnippetConfigurer
java.lang.Object
org.springframework.restdocs.config.AbstractConfigurer
org.springframework.restdocs.config.AbstractNestedConfigurer<WebTestClientRestDocumentationConfigurer>
org.springframework.restdocs.config.SnippetConfigurer<WebTestClientRestDocumentationConfigurer, WebTestClientSnippetConfigurer>
org.springframework.restdocs.webtestclient.WebTestClientSnippetConfigurer
- All Implemented Interfaces:
org.springframework.web.reactive.function.client.ExchangeFilterFunction
public class WebTestClientSnippetConfigurer
extends SnippetConfigurer<WebTestClientRestDocumentationConfigurer, WebTestClientSnippetConfigurer>
implements org.springframework.web.reactive.function.client.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 SnippetConfigurer
DEFAULT_SNIPPET_ENCODING, DEFAULT_TEMPLATE_FORMAT
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<org.springframework.web.reactive.function.client.ClientResponse> filter
(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ExchangeFunction next) Methods inherited from class SnippetConfigurer
apply, withAdditionalDefaults, withDefaults, withEncoding, withTemplateFormat
Methods inherited from class AbstractNestedConfigurer
and
Methods inherited from class 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<org.springframework.web.reactive.function.client.ClientResponse> filter(org.springframework.web.reactive.function.client.ClientRequest request, org.springframework.web.reactive.function.client.ExchangeFunction next) - Specified by:
filter
in interfaceorg.springframework.web.reactive.function.client.ExchangeFilterFunction
-