Class ObjectToURI


  • public class ObjectToURI
    extends Object

    This class encapsulates how an object can be converted to a URI string. There are three basic ways to perform the transformation:

    1. adding a @URITemplate("your-uri-template") to an object
    2. having an object extend URIable and have the object perform custom logic
    3. registering a custom URIResolver
    Version:
    $Revision: 1 $
    Author:
    Solomon Duskis
    • Constructor Detail

      • ObjectToURI

        public ObjectToURI()
    • Method Detail

      • getInstance

        public static ObjectToURI getInstance()
      • registerURIResolver

        public void registerURIResolver​(URIResolver uriResolver)