de.smartics.resteasy.hypermedia.resources
Interface Resources

Package class diagram package Resources
All Known Implementing Classes:
DiscoveredResourceRepository

public interface Resources

Provides access to discovered resources.


Method Summary
 List<LinkDescriptor> getLinksForRel(String rel)
          Returns links associated with a given relation.
 List<LinkDescriptor> links()
          Returns an iterator over the resource links in this repository.
 

Method Detail

getLinksForRel

List<LinkDescriptor> getLinksForRel(String rel)
Returns links associated with a given relation.

Parameters:
rel - a single relation value.
Returns:
the associated links, may be empty.

links

List<LinkDescriptor> links()
Returns an iterator over the resource links in this repository.

Returns:
an iterator over the resource links in this repository.


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.