Top "Spring-rest" questions

Use this tag for question about the REST architectural style used in Spring framework

How can I use Pageable in @RestController?

I know the Pageable comes from spring-data- domain. Is there any elegant way to directly use org.springframework.data.domain.…

spring spring-mvc pagination spring-rest
Spring rest template readTimeOut

I'm trying to understand the readTimeout available on restTemplate, what is it exactly ? Is it the the total amount of …

spring spring-boot spring-rest
How to Use Spring Boot's 'spring.jackson.date-format' Property?

According to the Current SpringBoot Reference Guide if I set the spring.jackson.date-format property, it will: Date format string …

spring spring-boot jackson spring-restcontroller spring-rest
How to log RestTemplate request and response with spring?

I'm using spring with RestTemplate to execute GET queries. How can I log any request and response data to a …

java spring logging spring-rest
Spring boot rest service to download a zip file which contains multiple file

I am able to download a single file but how I can download a zip file which contain multiple files. …

rest spring-boot spring-rest
Not able to return ResponseEntity with Exception Details in spring

I have created a Spring Restful Service and Spring MVC application. Restful Service :: Restful service returns an entity if its …

java spring spring-mvc spring-boot spring-rest
Spring REST and PATCH method

I'm using SpringBoot and Spring REST. I would like to understand the HTTP PATCH method to update properties of my …

spring spring-boot spring-rest
Best practices on rest client using spring RestTemplate

I have read some tutorials about implementing REST client in java web application that use SPRING to manage beans. Every …

java spring rest resttemplate spring-rest
Spring REST Template for Byte

I am fetching the byte array using spring framework rest template, But I also need to fetch the Mediatype of …

java spring cxf spring-rest
How to remove escape characters when JSON is added to model in spring rest controller

I am fetching JSON stored in DB (JSON is stored as a string in DB) and adding it to the …

java json spring rest spring-rest