com.sun.jersey.server.linking.impl
Class LinkProcessor<T>
java.lang.Object
com.sun.jersey.server.linking.impl.LinkProcessor<T>
public class LinkProcessor<T>
- extends Object
Processes @Link and @LinkHeaders annotations on entity classes and
adds appropriate HTTP Link headers.
- Author:
- mh124079
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkProcessor
public LinkProcessor(Class<T> c)
processLinkHeaders
public void processLinkHeaders(T entity,
UriInfo uriInfo,
MultivaluedMap<String,Object> headers)
- Process any
Link
annotations on the supplied entity.
- Parameters:
entity
- the entity object returned by the resource methoduriInfo
- the uriInfo for the requestheaders
- the map into which the headers will be added
Copyright © 2013 Oracle Corporation. All Rights Reserved.