public class MvcLink extends Object
Link instances from MvcUriComponentsBuilder invocations.| Constructor and Description |
|---|
MvcLink() |
| Modifier and Type | Method and Description |
|---|---|
static Link |
of(Object invocation,
LinkRelation relation)
Creates a new
Link from the given MvcUriComponentsBuilder invocation. |
static Link |
of(Supplier<Object> invocation,
LinkRelation relation)
Creates a new
Link from the given lazy MvcUriComponentsBuilder invocation. |
public static Link of(Object invocation, LinkRelation relation)
Link from the given MvcUriComponentsBuilder invocation.invocation - must not be null.relation - must not be null.public static Link of(Supplier<Object> invocation, LinkRelation relation)
Link from the given lazy MvcUriComponentsBuilder invocation.invocation - must not be null.relation - must not be null.Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.