Choose the JAX-RS type that is used to produce URLs to resources, given the resource class, to incorporate into resource responses (Choose one):
A.
UriBuilder
B.
UriInfo
C.
UriMapper
D.
Producer
Choose the JAX-RS type that is used to produce URLs to resources, given the resource class, to incorporate into resource responses (Choose one):
Choose the JAX-RS type that is used to produce URLs to resources, given the resource class, to incorporate into resource responses (Choose one):
A.
UriBuilder
B.
UriInfo
C.
UriMapper
D.
Producer
A
https://jersey.java.net/documentation/latest/uris-and-links.html
Building URIs
A very important aspect of REST is hyperlinks, URIs, in representations that clients can use to transition the Web service to new application states (this is otherwise known as “hypermedia as the engine of application state”). HTML forms present a good example of this in practice.
Building URIs and building them safely is not easy with URI, which is why JAX-RS has the UriBuilder class that makes it simple and easy to build URIs safely. UriBuilder can be used to build new URIs or build from existing URIs. For resource classes it is more than likely that URIs will be built from the base URI the web service is deployed at or from the request URI. The class UriInfo provides such information (in addition to further information, see next section).
Construct or build URI (Examples) :
http://www.leveluplunch.com/java/examples/construct-build-uri/