About 1,280,000 results
Open links in new tab
  1. Returning JSON object as response in Spring Boot

    Jun 30, 2017 · 181 As you are using Spring Boot web, Jackson dependency is implicit and we do not have to define explicitly. You can check for Jackson dependency in your pom.xml in the dependency …

  2. How to set base url for rest in spring boot? - Stack Overflow

    Oct 4, 2015 · In Spring Boot 2.0.0+, work off the WebMvcRegistrations interface directly. WebMvcRegistrationsAdapter was removed in favor of adding default methods to the interface.

  3. How do I retrieve query parameters in a Spring Boot controller?

    Aug 25, 2015 · How do I retrieve query parameters in a Spring Boot controller? Asked 10 years, 3 months ago Modified 7 months ago Viewed 552k times

  4. How to configure CORS in a Spring Boot - Stack Overflow

    May 1, 2016 · I use 1.3.3 Spring Boot. The Blog post writes: CORS support will be available in the upcoming Spring Boot 1.3 release, and is already available in the 1.3.0.BUILD-SNAPSHOT builds. …

  5. How to set rate limit for each user in Spring Boot?

    May 18, 2017 · 28 Spring does not have rate-limiting out of the box. There is bucket4j-spring-boot-starter project which uses bucket4j library with token-bucket algorithm to rate-limit access to the REST api. …

  6. How to Solve 403 Error in Spring Boot Post Request

    May 23, 2018 · I am newbie in spring boot rest services. I have developed some rest api in spring boot using maven project. I have successfully developed Get and Post Api. My GET Method working …

  7. SpringBoot 401 UnAuthorized even with out security

    In the current version of Spring Boot (v2.1.0.RELEASE), the easiest way to get rid of the security issues is to add "WebSecurityConfig.java" to your project as follows:

  8. java - Using GZIP compression with Spring Boot/MVC/JavaConfig with ...

    123 We use Spring Boot/MVC with annotation-based java-config for series of RESTful services and we want to selectively enable HTTP GZIP stream compression on some API responses.

  9. What is the best way to return different types of ResponseEntity in ...

    Jun 30, 2016 · As for spring boot 3.x, my preferred syntax is returning ResponseEntity<?> (with generics) - choosing the HttpStatus and body according to the result/exception; very clean, easy to …

  10. How to return an HTML page from a RESTful controller in Spring Boot?

    Learn how to return an HTML page from a RESTful controller in Spring Boot with this helpful guide.