Class ObjectToURI

java.lang.Object
org.jboss.resteasy.plugins.touri.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 Details

    • ObjectToURI

      public ObjectToURI()
  • Method Details

    • getInstance

      public static ObjectToURI getInstance()
    • registerURIResolver

      public void registerURIResolver(URIResolver uriResolver)
    • resolveURI

      public String resolveURI(Object object)