Class WebFluxLinkBuilder.WebFluxBuilder
java.lang.Object
org.springframework.hateoas.server.reactive.WebFluxLinkBuilder.WebFluxBuilder
- Enclosing class:
- WebFluxLinkBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a newWebFluxLinkBuilder.WebFluxBuilder
appending the given path to the currently to be built link.toLink
(Function<WebFluxLinkBuilder, reactor.core.publisher.Mono<Link>> finisher) General callback to produce aLink
from the givenWebFluxLinkBuilder
.Creates a newWebFluxLinkBuilder.WebFluxLink
for theLink
with the given link relation.withRel
(LinkRelation relation)
-
Constructor Details
-
WebFluxBuilder
-
-
Method Details
-
slash
Creates a newWebFluxLinkBuilder.WebFluxBuilder
appending the given path to the currently to be built link.- Parameters:
path
- must not be null.- Returns:
- Since:
- 1.1
-
withRel
- Parameters:
relation
- must not be null.- Returns:
-
withRel
Creates a newWebFluxLinkBuilder.WebFluxLink
for theLink
with the given link relation.- Parameters:
relation
- must not be null.- Returns:
-
withSelfRel
- Returns:
-
toLink
public WebFluxLinkBuilder.WebFluxLink toLink(Function<WebFluxLinkBuilder, reactor.core.publisher.Mono<Link>> finisher) General callback to produce aLink
from the givenWebFluxLinkBuilder
.- Parameters:
finisher
- must not be null.- Returns:
-