## Uses of Class
javax.ws.rs.core.Link

- Packages that use Link
  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.

- - ### Uses of Link in javax.ws.rs.client

    Methods in javax.ws.rs.client that return Link
    Modifier and Type | Method and Description
    --- | ---
    `Link` | ClientResponseContext.`getLink(String relation)` Get the link for the relation.

    Methods in javax.ws.rs.client that return types with arguments of type Link
    Modifier and Type | Method and Description
    --- | ---
    `Set<Link>` | ClientResponseContext.`getLinks()` Get the links attached to the message as header.

    Methods in javax.ws.rs.client with parameters of type Link
    Modifier and Type | Method and Description
    --- | ---
    `Invocation.Builder` | Client.`invocation(Link link)` Build an invocation builder from a link.
    `WebTarget` | Client.`target(Link link)` Build a new web resource target.

  - ### Uses of Link in javax.ws.rs.container

    Methods in javax.ws.rs.container that return Link
    Modifier and Type | Method and Description
    --- | ---
    `Link` | ContainerResponseContext.`getLink(String relation)` Get the link for the relation.

    Methods in javax.ws.rs.container that return types with arguments of type Link
    Modifier and Type | Method and Description
    --- | ---
    `Set<Link>` | ContainerResponseContext.`getLinks()` Get the links attached to the message as header.

  - ### Uses of Link in javax.ws.rs.core

    Methods in javax.ws.rs.core that return Link
    Modifier and Type | Method and Description
    --- | ---
    `Link` | Link.Builder.`build(Object... values)` Finish building this link using the supplied values as URI parameters.
    `Link` | Link.Builder.`buildRelativized(URI uri, Object... values)` Finish building this link using the supplied values as URI parameters and relativize the result with respect to the supplied URI.
    `abstract Link` | Response.`getLink(String relation)` Get the link for the relation.
    `Link` | Link.JaxbAdapter.`unmarshal(Link.JaxbLink v)` Convert a `Link.JaxbLink` into a `Link`.
    `static Link` | Link.`valueOf(String value)` Simple parser to convert link header string representations into a link.

    Methods in javax.ws.rs.core that return types with arguments of type Link
    Modifier and Type | Method and Description
    --- | ---
    `abstract Set<Link>` | Response.`getLinks()` Get the links attached to the message as headers.

    Methods in javax.ws.rs.core with parameters of type Link
    Modifier and Type | Method and Description
    --- | ---
    `static UriBuilder` | UriBuilder.`fromLink(Link link)` Create a new instance initialized from a Link.
    `static Link.Builder` | Link.`fromLink(Link link)` Create a new builder instance initialized from another link.
    `Link.Builder` | Link.Builder.`link(Link link)` Initialize builder using another link.
    `abstract Response.ResponseBuilder` | Response.ResponseBuilder.`links(Link... links)` Add one or more link headers.
    `Link.JaxbLink` | Link.JaxbAdapter.`marshal(Link v)` Convert a `Link` into a `Link.JaxbLink`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.