Class WebFluxLinkBuilder.WebFluxBuilder
java.lang.Object
org.springframework.hateoas.server.reactive.WebFluxLinkBuilder.WebFluxBuilder
- Enclosing class:
- WebFluxLinkBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a newWebFluxLinkBuilder.WebFluxBuilderappending the given path to the currently to be built link.toLink(Function<WebFluxLinkBuilder, reactor.core.publisher.Mono<Link>> finisher) General callback to produce aLinkfrom the givenWebFluxLinkBuilder.Creates a newWebFluxLinkBuilder.WebFluxLinkfor theLinkwith the given link relation.withRel(LinkRelation relation)
-
Constructor Details
-
WebFluxBuilder
-
-
Method Details
-
slash
Creates a newWebFluxLinkBuilder.WebFluxBuilderappending 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.WebFluxLinkfor theLinkwith 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 aLinkfrom the givenWebFluxLinkBuilder.- Parameters:
finisher- must not be null.- Returns:
-