💯 I’m conveniently so convenient nitter.cf/rgielen/status/1019615…
+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
Solving world problems. Again. nitter.cf/rigorigorei/status/101…
Gettin my Brazilian accent ready for the World Cup ⚽️ nitter.cf/algaworks/status/10099…
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
10k people wishing they never have to google criteria join hql aggregation ever again nitter.cf/hibernate/status/10016…
I’m such an enabler nitter.cf/oktadev/status/9884262…
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…
Yep, I’ve still got it! #SaveAClick nitter.cf/baeldung/status/980731…
Once again: insert me, magic happens nitter.cf/starbuxman/status/9630…
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;
}
}
SpringRestController retweeted
“Spring-Boot の @RestController の単体テストを記述する - Qiita” htn.to/Q8jF8T
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 🤷♀️. – at Stuttgart, Germany
Glad I could help nitter.cf/springcentral/status/8…
REST endpoint to cloud in a single tweet. Language conciseness courtesy of @springboot and @groovylang nitter.cf/starbuxman/status/8468…
1
Replying to @epragt @RyanVanderwerf
Ryan "Mr. Alexa Lego Mindstorms" listen to Erik cause I can get it done. even in groovy
2
1
agreed. And in general getting started with Java is hard. And web development. But Spring Boot ain't bad
1
Just ask me nicely. Saying please would help nitter.cf/springoverflow/status/…
How to use @XmlJavaTypeAdapter in @RestController parameters? dlvr.it/LqsT7H












