Modifier and Type | Field and Description |
---|---|
protected URI |
href |
protected Link.Relation |
relation |
protected String |
type |
Constructor and Description |
---|
Link.Builder() |
Modifier and Type | Method and Description |
---|---|
Link |
build() |
Link.Builder |
fromLink(Link from) |
Link.Builder |
href(URI href) |
Link.Builder |
relation(Link.Relation relation) |
Link.Builder |
type(String type) |
protected Link.Relation relation
protected String type
protected URI href
public Link.Builder relation(Link.Relation relation)
Link.getRelation()
public Link.Builder type(String type)
Link.getType()
public Link.Builder href(URI href)
Link.getHref()
public Link build()
public Link.Builder fromLink(Link from)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.