com.sun.jersey.server.linking.impl
Class RefProcessor<T>

java.lang.Object
  extended by com.sun.jersey.server.linking.impl.RefProcessor<T>

public class RefProcessor<T>
extends Object

Utility class that can inject links into Link annotated fields in an entity.

Author:
mh124079

Constructor Summary
RefProcessor(Class<T> c)
           
 
Method Summary
 void processLinks(T entity, UriInfo uriInfo)
          Inject any Link annotated fields in the supplied entity and recursively process its fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefProcessor

public RefProcessor(Class<T> c)
Method Detail

processLinks

public void processLinks(T entity,
                         UriInfo uriInfo)
Inject any Link annotated fields in the supplied entity and recursively process its fields.

Parameters:
entity - the entity object returned by the resource method
uriInfo - the uriInfo for the request


Copyright © 2013 Oracle Corporation. All Rights Reserved.