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:
Oliver Gierke
2012-10-26 15:22:30 +02:00
parent c4bfc8ea72
commit b8add74fc1
6 changed files with 19 additions and 12 deletions

View File

@@ -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