code: private String getHalJson(final Link link) throws IOException {
          try {
              final HttpGet httpget = new HttpGet(link.getHref());
              if (link.getType().isEmpty()) {
                  httpget.addHeader("Accept", "application/hal+json");
              } else {
                  httpget.addHeader("Accept", link.getType());
              }
  
              System.out.println("|   ------------- Request --------------");
              System.out.println("|   " + httpget.getRequestLine());
  
              final HttpEntity entity = httpclient.execute(httpget).getEntity();
              final String json = EntityUtils.toString(entity);
              System.out.println("|   ------------- Response -------------");
              System.out.println("|   " + json);
              return json;
          } catch (final IOException e) {
              System.out.println("\nPlease start example-springboot Server before you are running the Client.\n");
              throw e;
          }
      }
docs: Returns the REST resource identified by {@code uri} as a JSON string.
  
  @param link the non-templated Link of the resource
  @return json