SpringRestController
@RestController
http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/bind/annotation/RestController.html
You might like
💯 I’m conveniently so convenient
+100! If there's a resource /users/bruno I'd expect to freely chose a suitable representation for my use case. Once it's HTML, server side rendering is not the worst solution. In the end @RestController is just convenience to avoid @ResponseBody before each method, if applies
Fake news! I have so many answers!
Gettin my Brazilian accent ready for the World Cup ⚽️
Você sabe quando é melhor usar a anotação @RestController ao invés de @Controller? Nessa aula, nós iremos explicar essa diferença pra você --> Acesse youtu.be/qsIkWczoan8
youtube.com
YouTube
Diferença entre @Controller e @RestController do Spring MVC
10k people wishing they never have to google criteria join hql aggregation ever again
10k followers! Time to celebrate. 🎉 Thanks for following us and stay tuned for more.
I’m such an enabler
Spring makes OAuth 2.0 easy: @Grab('spring-boot-starter-security') @RestController @EnableOAuth2Sso class Application { @GetMapping('/') String home(java.security.Principal user) { 'Hello ' + user.name } } developer.okta.com/blog/2017/03/2…
developer.okta.com
Get Started with Spring Boot, OAuth 2.0, and Okta
In this tutorial you'll learn how to integrate Spring Security into a Spring Boot application, plus add authentication with OAuth using the Okta API.
Yep, I’ve still got it! #SaveAClick
Once again: insert me, magic happens
small Spring tip: @SpringData can convert your entity ID in a REST controller to the entity itself: @RestController class CarRestController { @GetMapping("/{id}") Car get(@PathVariable("id") Car car) { return car; } }
“Spring-Boot の @RestController の単体テストを記述する - Qiita” htn.to/Q8jF8T
just realized there's a misguided Java EE vs Spring debate going on and.. yah.. just checked - I don't care even a little 🤷♀️.
Glad I could help
REST endpoint to cloud in a single tweet. Language conciseness courtesy of @springboot and @groovylang
Just ask me nicely. Saying please would help
I just earned the "learned a new language" badge! #java #dartlang #groovylang
We released a new version of forcemvc for #dartlang, it includes @RestController. May the force be with us. buff.ly/1MPlPbK
Don't blame me!
Avoid redirection of Spring Security to login page when using @RestController dlvr.it/LGrKSn
Neither is JavaEE but that doesn't mean we have to enjoy using it
Step 1: does it use @RestController? #SavedAClick
The force is strong with forcemvc! Wisely chosen annotations, they have.
We released a new version of forcemvc for #dartlang, it includes @RestController. May the force be with us. buff.ly/1MPlPbK
.@royclarkson yeah we're together so much like family. But I still hang with old man @java too. Mostly on enterprisey gigs
.@royclarkson nice to meet you dude! Have you met my bro 4 life @groovylang? We're great together!
United States Trends
- 1. #WWERaw 13.7K posts
- 2. Kalani 8,649 posts
- 3. Stein 16.5K posts
- 4. Sidney Crosby N/A
- 5. Crumbl 1,023 posts
- 6. Abdul Carter 2,890 posts
- 7. #NEPats 1,356 posts
- 8. Penn State 10.8K posts
- 9. Admiral Bradley 18.5K posts
- 10. #Patriots 3,420 posts
- 11. Monday Night Football 3,655 posts
- 12. Ivy Nile N/A
- 13. #jeopardy N/A
- 14. REAL ID 8,605 posts
- 15. Josh Norris N/A
- 16. Hartline 4,570 posts
- 17. FEED THE STUDS N/A
- 18. Jaxson Dart 5,046 posts
- 19. Merry Christmas 59.7K posts
- 20. #NYGvsNE N/A
Something went wrong.
Something went wrong.