Link.Builder |
Link.Builder.baseUri(String uri) |
Set the base URI as a string for resolution of relative URIs.
|
Link.Builder |
Link.Builder.baseUri(URI uri) |
Set the base URI for resolution of relative URIs.
|
static Link.Builder |
Link.fromLink(Link link) |
Create a new builder instance initialized from another link.
|
static Link.Builder |
Link.fromMethod(Class<?> resource,
String method) |
Convenience method to build a link from a resource.
|
static Link.Builder |
Link.fromPath(String path) |
Convenience method to build a link from a path.
|
static Link.Builder |
Link.fromResource(Class<?> resource) |
Convenience method to build a link from a resource.
|
static Link.Builder |
Link.fromUri(String uri) |
Create a new builder instance initialized from an existing URI represented as a string.
|
static Link.Builder |
Link.fromUri(URI uri) |
Create a new builder instance initialized from an existing URI.
|
static Link.Builder |
Link.fromUriBuilder(UriBuilder uriBuilder) |
Create a new builder instance initialized from a URI builder.
|
abstract Link.Builder |
Response.getLinkBuilder(String relation) |
Convenience method that returns a Link.Builder for the relation.
|
Link.Builder |
Link.Builder.link(Link link) |
Initialize builder using another link.
|
Link.Builder |
Link.Builder.link(String link) |
Initialize builder using another link represented as a string.
|
Link.Builder |
Link.Builder.param(String name,
String value) |
Set an arbitrary parameter on this link.
|
Link.Builder |
Link.Builder.rel(String rel) |
Convenience method to set a link relation.
|
Link.Builder |
Link.Builder.title(String title) |
Convenience method to set a title on this link.
|
Link.Builder |
Link.Builder.type(String type) |
Convenience method to set a type on this link.
|
Link.Builder |
Link.Builder.uri(String uri) |
Set underlying string representing URI template for the link being constructed.
|
Link.Builder |
Link.Builder.uri(URI uri) |
Set underlying URI template for the link being constructed.
|
Link.Builder |
Link.Builder.uriBuilder(UriBuilder uriBuilder) |
Set underlying URI builder representing the URI template for the link being constructed.
|