public class LinkProcessor<T> extends Object
Constructor and Description |
---|
LinkProcessor(Class<T> c) |
Modifier and Type | Method and Description |
---|---|
void |
processLinkHeaders(T entity,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.MultivaluedMap<String,Object> headers)
Process any
Link annotations on the supplied entity. |
public void processLinkHeaders(T entity, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.MultivaluedMap<String,Object> headers)
Link
annotations on the supplied entity.entity
- the entity object returned by the resource methoduriInfo
- the uriInfo for the requestheaders
- the map into which the headers will be addedCopyright © 2013 Oracle Corporation. All rights reserved.