core/src/main/java/net/typedrest/HeaderUtils.java
public static Iterable<LinkHeader> getLinkHeaders(HttpResponse response) {
        return stream(response.getHeaders("Link"))
                .flatMap(x -> stream(x.getElements()).map(LinkHeader::new))
                .collect(toList());
    }
public static Iterable<LinkHeader> getLinkHeaders(HttpResponse response) {
        return stream(response.getHeaders("Link"))
                .flatMap(x -> stream(x.getElements()).map(LinkHeader::new))
                .collect(toList());
    }
public static Iterable < LinkHeader > getLinkHeaders ( HttpResponse response ) { return stream ( response . getHeaders ( "Link" ) ) . flatMap ( x -> stream ( x . getElements ( ) ) . map ( LinkHeader :: new ) ) . collect ( toList ( ) ) ; }
Returns all Link headers listed in an {@link HttpResponse}.

@param response The response to check for Link headers.
@return The Link headers found.
Returns all Link headers listed in an { @link HttpResponse } .