Class LinkHeaderEmitter
java.lang.Object
org.gcube.informationsystem.resourceregistry.http.headers.link.LinkHeaderEmitter
Formats
LinkRelation entries accumulated by a PEP into RFC 8288 Link
response headers. Used exclusively by
LinkResponseFilter.- Author:
- Luca Frosini (ISTI - CNR)
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddLinkHeaders(jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, List<LinkRelation> relations) Adds oneLinkresponse header per accumulated relation.
-
Method Details
-
addLinkHeaders
public static void addLinkHeaders(jakarta.ws.rs.core.MultivaluedMap<String, Object> headers, List<LinkRelation> relations) Adds oneLinkresponse header per accumulated relation.- Parameters:
headers- the mutable response headers maprelations- the Link relations accumulated during the request
-