Changed `getCurieInformation(…)` to receive a `Links` instance with the previously added links and is forced to return a collection of curies so that multiple ones can be resolved transparently. Made Curie value class protected to be able to reuse it from extensions of DefaultCurieProvider. Switched to the custom HATEOAS UriTemplate instance instead of the standard Spring MVC one. Polished JavaDoc of DefaultCurieProvider. Removed some of the deprecation warnings that were introduced by the upgrade to Jackson 2.3. Polished (read: reactivated) some test cases and slightly changed the internals of UriTemplate works. Added TemplateVariables.asList().
This commit is contained in:
@@ -90,6 +90,15 @@ public class TemplateVariables implements Iterable<TemplateVariable> {
|
||||
return concat(variables.variables);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the contained {@link TemplateVariable}s as {@link List}.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public List<TemplateVariable> asList() {
|
||||
return this.variables;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see java.lang.Iterable#iterator()
|
||||
|
||||
Reference in New Issue
Block a user