com.sun.jersey.server.linking.impl
Class RefProcessor<T>
java.lang.Object
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
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 |
RefProcessor
public RefProcessor(Class<T> c)
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 methoduriInfo
- the uriInfo for the request
Copyright © 2013 Oracle Corporation. All Rights Reserved.