core/src/main/java/net/typedrest/AbstractEndpoint.java
protected void handleHeaderLinks(HttpResponse response, Map<String, Map<URI, String>> links, Map<String, String> linkTemplates) {
        getLinkHeaders(response).forEach(header -> {
            if (header.getRel() == null) {
                return;
            }
            if (header.isTemplated()) {
                linkTemplates.put(header.getRel(), header.getHref());
            } else {
                getOrAdd(links, header.getRel())
                        .put(uri.resolve(header.getHref()), header.getTitle());
            }
        });
    }
protected void handleHeaderLinks(HttpResponse response, Map<String, Map<URI, String>> links, Map<String, String> linkTemplates) {
        getLinkHeaders(response).forEach(header -> {
            if (header.getRel() == null) {
                return;
            }
            if (header.isTemplated()) {
                linkTemplates.put(header.getRel(), header.getHref());
            } else {
                getOrAdd(links, header.getRel())
                        .put(uri.resolve(header.getHref()), header.getTitle());
            }
        });
    }
protected void handleHeaderLinks ( HttpResponse response , Map < String , Map < URI , String > > links , Map < String , String > linkTemplates ) { getLinkHeaders ( response ) . forEach ( header -> { if ( header . getRel ( ) == null ) { return ; } if ( header . isTemplated ( ) ) { linkTemplates . put ( header . getRel ( ) , header . getHref ( ) ) ; } else { getOrAdd ( links , header . getRel ( ) ) . put ( uri . resolve ( header . getHref ( ) ) , header . getTitle ( ) ) ; } } ) ; }
Handles links embedded in HTTP response headers.

@param response The response to check for links.
@param links A dictionary to add found links to.
@param linkTemplates A dictionary to add found link templates to.
Handles links embedded in HTTP response headers .