LinkHeaderBuilder builder = LinkHeader.uri(uri);
if (header.rel().length() != 0)
builder = builder.rel(header.rel());
if (header.rev().length() != 0)
builder = builder.parameter("rev", header.rev());
if (header.type().length() != 0)
builder = builder.type(MediaType.valueOf(header.type()));
if (header.title().length() != 0)
builder = builder.parameter("title", header.title());
if (header.anchor().length() != 0)
builder = builder.parameter("anchor", header.anchor());