Improvements to LinkBuilder API.
Renamed UriComponentsLinkBuilder to LinkBuilderSupport and moved it from mvc into core package. slash(Object object) now transparently unwraps Identifiables<?>.
This commit is contained in:
@@ -25,7 +25,8 @@ import java.net.URI;
|
||||
public interface LinkBuilder {
|
||||
|
||||
/**
|
||||
* Adds the given object's {@link String} representation as sub-resource to the current URI.
|
||||
* Adds the given object's {@link String} representation as sub-resource to the current URI. Will unwrap
|
||||
* {@link Identifiable}s to their id value (see {@link Identifiable#getId()}).
|
||||
*
|
||||
* @param object
|
||||
* @return
|
||||
|
||||
Reference in New Issue
Block a user