public static class WebFluxLinkBuilder.WebFluxLink extends Object
Link within a reactive pipeline to easily add Affordances from
method invocations.| Constructor and Description |
|---|
WebFluxLink(reactor.core.publisher.Mono<Link> link) |
| Modifier and Type | Method and Description |
|---|---|
WebFluxLinkBuilder.WebFluxLink |
andAffordance(Object invocation)
Adds the affordance created by the given virtual method invocation.
|
WebFluxLinkBuilder.WebFluxLink |
map(Function<Link,Link> mapper)
Creates a new
WebFluxLinkBuilder.WebFluxLink with the current Link instance transformed using the given mapper. |
reactor.core.publisher.Mono<Link> |
toMono()
Returns the underlying
Mono of Link for further handling within a reactive pipeline. |
reactor.core.publisher.Mono<Link> |
toMono(Function<Link,Link> finisher)
|
public WebFluxLink(reactor.core.publisher.Mono<Link> link)
public WebFluxLinkBuilder.WebFluxLink andAffordance(Object invocation)
invocation - must not be null.WebFluxLinkBuilder.methodOn(Class, Object...)public WebFluxLinkBuilder.WebFluxLink map(Function<Link,Link> mapper)
WebFluxLinkBuilder.WebFluxLink with the current Link instance transformed using the given mapper.mapper - must not be null.public reactor.core.publisher.Mono<Link> toMono()
Mono of Link for further handling within a reactive pipeline.public reactor.core.publisher.Mono<Link> toMono(Function<Link,Link> finisher)
Mono of Link with the current one augmented by the given Function. Allows
immediate customization of the Link instance and immediately return to a general reactive API.finisher - must not be null.Copyright © 2011–2022 Pivotal, Inc.. All rights reserved.