💯 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
1
SpringRestController retweeted
Fake news! I have so many answers!
1
1
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 piped.video/qsIkWczoan8
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.
1
1
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…
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; } }
1
4
SpringRestController retweeted
“Spring-Boot の @RestController の単体テストを記述する - Qiita” htn.to/Q8jF8T
1
3
SpringRestController retweeted
just realized there's a misguided Java EE vs Spring debate going on and.. yah.. just checked - I don't care even a little 🤷‍♀️.
6
4
24
Glad I could help
REST endpoint to cloud in a single tweet. Language conciseness courtesy of @springboot and @groovylang
1
Just ask me nicely. Saying please would help
How to use @XmlJavaTypeAdapter in @RestController parameters? dlvr.it/LqsT7H
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
1
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
"Legacy" is not a bad word
2
Step 1: does it use @RestController? #SavedAClick
How To Evaluate a New Tech Stack For Your Project dzone.com/articles/how-to-ev… #tech https://nitter.siddz.com/t.co/8asMC2SiqS
1
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
Replying to @royclarkson
.@royclarkson yeah we're together so much like family. But I still hang with old man @java too. Mostly on enterprisey gigs
1
Replying to @royclarkson
.@royclarkson nice to meet you dude! Have you met my bro 4 life @groovylang? We're great together!