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:

  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 Summary

    Constructors
    Constructor and Description
    `ObjectToURI()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ObjectToURI` | `getInstance()`
    `void` | `registerURIResolver(URIResolver uriResolver)`
    `String` | `resolveURI(Object object)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ObjectToURI

          public ObjectToURI()

  - ### Method Detail

    - #### getInstance

          public static ObjectToURI getInstance()

    - #### registerURIResolver

          public void registerURIResolver(URIResolver uriResolver)

    - #### resolveURI

          public String resolveURI(Object object)

Copyright © 2014. All Rights Reserved.