Top "Resttemplate" questions

Use this tag for Spring's RestTemplate, a class for client-side HTTP communications and RESTful principles enforcement.

ClassNotFoundException: org.springframework.http.converter.json.MappingJacksonHttpMessageConverter

I am completely a beginner at Spring (you can see that in my code :) ). I just wanted to test the …

java spring maven resttemplate
resttemplate getForObject map responsetype

Update 02/05/2018 (about 4 years later)...I tested this again as people have been upvoting my question/answer and Sotirios Delimanolis is …

java json spring resttemplate
spring resttemplate url encoding

I try to do a simple rest call with springs resttemplate: private void doLogout(String endpointUrl, String sessionId) { template.getForObject("…

java spring resttemplate
REST client restTemplate can't get Collection of objects

I use Spring restTemplate. I made a REST service and client as unit test in separated application. I have method …

java spring rest collections resttemplate
spring mvc rest service redirect / forward / proxy

I have build a web application using spring mvc framework to publish REST services. For example: @Controller @RequestMapping("/movie") public …

java spring-mvc spring-boot resttemplate
How to Pass custom objects using Spring's REST Template

I have a requirement to pass a custom object using RESTTemplate to my REST service. RestTemplate restTemplate = new RestTemplate(); MultiValueMap&…

spring-mvc spring-3 rest-client resttemplate
How to handle empty response in Spring RestTemplate

My Authorization service returs a http 204 on success and a http 401 on failure but no responseBody. I'm not able to …

spring rest jackson resttemplate
RestTemplate client with cookies

I'm writing a simple client in Java to allow reusable use of proprietary virus scanning software accessible through a RESTful …

java spring http cookies resttemplate
Spring/RestTemplate - PUT entity to server

Please look at this simple code: final String url = String.format("%s/api/shop", Global.webserviceUrl); RestTemplate restTemplate = new RestTemplate(); …

java json spring put resttemplate