org.jboss.resteasy.spi.touri
Class ObjectToURI
java.lang.Object
org.jboss.resteasy.spi.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:
- adding a @URITemplate("your-uri-template") to an object
- having an object extend URIable and have the object perform custom logic
- registering a custom URIResolver
- Version:
- $Revision: 1 $
- Author:
- Solomon Duskis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectToURI
public ObjectToURI()
getInstance
public static ObjectToURI getInstance()
registerURIResolver
public void registerURIResolver(URIResolver uriResolver)
resolveURI
public String resolveURI(Object object)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.