@Component public class LinkHeaderProvider extends Object implements UriAwareHttpHeaderFactory
| Constructor and Description |
|---|
LinkHeaderProvider() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,String> |
createHttpHeadersForResource(javax.ws.rs.core.UriInfo uriInfo,
FedoraResource resource)
Given a resource and session, update the JAX-RS response with any additional headers.
|
public LinkHeaderProvider()
public com.google.common.collect.Multimap<String,String> createHttpHeadersForResource(javax.ws.rs.core.UriInfo uriInfo, FedoraResource resource)
UriAwareHttpHeaderFactorycreateHttpHeadersForResource in interface UriAwareHttpHeaderFactoryuriInfo - contextual information for building URLsresource - the resource from the requestCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.