The URLs are in the full form "http://localhost:8080/resources/HR/User/3.json", the "http://localhost:8080" is replaced with the "HOST" request value so if you will call the URL at "http://examples" you will get in the response URLs pointing at the examples domain. Is a good strategy to use full URLs since there might be cases when you have another server solving a specific request, for instance you might use services like akamai to cache content.