Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
javax.ws.rs.container |
Container-specific JAX-RS API.
|
javax.ws.rs.core |
Low-level interfaces and annotations used to create RESTful service
resources.
|
javax.ws.rs.ext |
APIs that provide extensions to the types supported by the JAX-RS API.
|
org.glassfish.jersey.server |
Jersey server-side classes.
|
Modifier and Type | Method and Description |
---|---|
Link.Builder |
ClientResponseContext.getLinkBuilder(String relation)
Convenience method that returns a
Link.Builder
for the relation. |
Modifier and Type | Method and Description |
---|---|
Link.Builder |
ContainerResponseContext.getLinkBuilder(String relation)
Convenience method that returns a
Link.Builder
for the relation. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract Link.Builder |
RuntimeDelegate.createLinkBuilder()
Create a new instance of a
Link.Builder . |
Modifier and Type | Method and Description |
---|---|
Link.Builder |
ContainerResponse.getLinkBuilder(String relation) |
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.