public interface SelfLinkProvider
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.Link |
createSelfLinkFor(Class<?> type,
Object reference)
Returns the self link for the entity of the given type and the given reference.
|
org.springframework.hateoas.Link |
createSelfLinkFor(Object instance)
Returns the self link for the given entity instance.
|
org.springframework.hateoas.Link createSelfLinkFor(Object instance)
createSelfLinkFor(Class, Object).instance - must never be null.createSelfLinkFor(Class, Object)org.springframework.hateoas.Link createSelfLinkFor(Class<?> type, Object reference)
type - must not be null.reference - must not be null.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.