Package javax.ws.rs.core
Class Link.JaxbLink
- java.lang.Object
-
- javax.ws.rs.core.Link.JaxbLink
-
- Enclosing class:
- Link
public static class Link.JaxbLink extends java.lang.Object
Value type forLink
that can be marshalled and unmarshalled by JAXB.- Since:
- 2.0
- See Also:
Link.JaxbAdapter
-
-
Constructor Summary
Constructors Constructor Description JaxbLink()
Default constructor needed during unmarshalling.JaxbLink(java.net.URI uri)
Construct an instance from a URI and no parameters.JaxbLink(java.net.URI uri, java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)
Construct an instance from a URI and some parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<javax.xml.namespace.QName,java.lang.Object>
getParams()
Get the parameter map for this link.java.net.URI
getUri()
Get the underlying URI for this link.
-
-
-
Constructor Detail
-
JaxbLink
public JaxbLink()
Default constructor needed during unmarshalling.
-
JaxbLink
public JaxbLink(java.net.URI uri)
Construct an instance from a URI and no parameters.- Parameters:
uri
- underlying URI.
-
JaxbLink
public JaxbLink(java.net.URI uri, java.util.Map<javax.xml.namespace.QName,java.lang.Object> params)
Construct an instance from a URI and some parameters.- Parameters:
uri
- underlying URI.params
- parameters of this link.
-
-