public class WebTestClientInitializer extends Object implements org.springframework.web.reactive.HandlerAdapter, org.springframework.core.Ordered
| Constructor and Description |
|---|
WebTestClientInitializer() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
reactor.core.publisher.Mono<org.springframework.web.reactive.HandlerResult> |
handle(org.springframework.web.server.ServerWebExchange exchange,
Object handler) |
static org.springframework.restdocs.snippet.Snippet |
prepareSnippets(org.springframework.context.ApplicationContext context)
Prepare Snippets for use with the WebTestClient.
|
boolean |
supports(Object handler) |
public boolean supports(Object handler)
supports in interface org.springframework.web.reactive.HandlerAdapterpublic reactor.core.publisher.Mono<org.springframework.web.reactive.HandlerResult> handle(org.springframework.web.server.ServerWebExchange exchange,
Object handler)
handle in interface org.springframework.web.reactive.HandlerAdapterpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic static org.springframework.restdocs.snippet.Snippet prepareSnippets(org.springframework.context.ApplicationContext context)
context - The Spring ApplicationContext.Copyright © 2018 Scalable Capital GmbH. All rights reserved.