Top "Resttemplate" questions

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

How to generate Java client proxy for RESTful service implemented with Spring?

We use Spring to implement REST controller, for example: @Controller @RequestMapping("/myservice") public class MyController { @RequestMapping(value = "foo", method = RequestMethod.…

spring rest resteasy resttemplate
Using Proxy with HttpComponentsClientHttpRequestFactory and RestTemplate

Can some one guide me how can I configure HttpComponentsClientHttpRequestFactory to use proxy server. All examples I have seen are …

spring resttemplate apache-httpcomponents proxyselector
How to set multiple headers at once in Spring WebClient?

I was trying to set headers to my rest client but every time I have to write webclient.get().uri("…

spring-boot java-8 resttemplate rest-client spring-webclient
CustomDeserializer has no default (no arg) constructor

I am consuming a REST Api with RestTemplate. The response I'm getting from the API has lots of nested objects. …

java spring jackson resttemplate json-deserialization
What are the advantages and disadvantages of using feign over RestTemplate

I get that Feign is declarative and hence it abstracts out a lot of things for the developer. But, when …

spring-boot spring-cloud resttemplate spring-cloud-feign
Is there a way to pass header information in Spring RestTemplate DELETE call

In Spring RestTemplate we are having the following methods for delete. @Override public void delete(String url, Object... urlVariables) throws …

java spring web-services rest resttemplate
How to prevent auto start of tomcat/jetty in Spring Boot when I only want to use RestTemplate

I want to use RestTemplate/TestRestTemplate by including the artifact in a SpringBoot application <dependency> <groupId>…

java spring spring-boot resttemplate
org.springframework.web.client.RestTemplate 504 Gateway Timeout

I am making a http request using org.springframework.web.client.RestTemplate with no updates to the connection timeouts of …

java resttemplate http-status-code-504
POST InputStream with RestTemplate

I have a client that needs to POST a large number of large json files to a server. I've been …

java resttemplate
Spring RestTemplate and XMLStream use with List of Objects

I am trying to use Spring RestTemplate to retrieve a List of Employee records, such as: public List<Employee&…

spring xstream resttemplate