Class Link.JaxbLink

java.lang.Object
javax.ws.rs.core.Link.JaxbLink
Enclosing class:
Link

public static class Link.JaxbLink extends Object
Value type for Link that can be marshalled and unmarshalled by JAXB.
Since:
2.0
See Also:
  • Constructor Details

    • JaxbLink

      public JaxbLink()
      Default constructor needed during unmarshalling.
    • JaxbLink

      public JaxbLink(URI uri)
      Construct an instance from a URI and no parameters.
      Parameters:
      uri - underlying URI.
    • JaxbLink

      public JaxbLink(URI uri, Map<QName,Object> params)
      Construct an instance from a URI and some parameters.
      Parameters:
      uri - underlying URI.
      params - parameters of this link.
  • Method Details

    • getUri

      public URI getUri()
      Get the underlying URI for this link.
      Returns:
      underlying URI.
    • getParams

      public Map<QName,Object> getParams()
      Get the parameter map for this link.
      Returns:
      parameter map.