@Test @Ignore public void testGet() { httpRequestService.doGet(); }
public void doGet() { String url = "http: User user = restTemplate.getForObject(url, User.class); System.out.println(user); String json = restTemplate.getForObject(url, String.class); System.out.println(json); }
HttpRequestService { public void doGet() { String url = "http: User user = restTemplate.getForObject(url, User.class); System.out.println(user); String json = restTemplate.getForObject(url, String.class); System.out.println(json); } }
HttpRequestService { public void doGet() { String url = "http: User user = restTemplate.getForObject(url, User.class); System.out.println(user); String json = restTemplate.getForObject(url, String.class); System.out.println(json); }  }
HttpRequestService { public void doGet() { String url = "http: User user = restTemplate.getForObject(url, User.class); System.out.println(user); String json = restTemplate.getForObject(url, String.class); System.out.println(json); }  void doRequestWithHeader(String uri); void postBody(String url); void doPost(String uri); void doGet(); void doGet(String uri); }
HttpRequestService { public void doGet() { String url = "http: User user = restTemplate.getForObject(url, User.class); System.out.println(user); String json = restTemplate.getForObject(url, String.class); System.out.println(json); }  void doRequestWithHeader(String uri); void postBody(String url); void doPost(String uri); void doGet(); void doGet(String uri);  }