Spring Boot
Consistent Error Handling in Spring Boot REST APIs
Design one error contract for your whole API using @RestControllerAdvice, ProblemDetail, and validation groups.
2 min read
Tag
4 articles
Design one error contract for your whole API using @RestControllerAdvice, ProblemDetail, and validation groups.
A concrete pattern for idempotency keys in Spring Boot APIs, covering storage choice, request matching, and what to return on a replayed request.
Why offset pagination falls apart under real data volume, and how to design keyset-based pagination and sorting APIs that stay fast at scale.
A working approach to stateless JWT authentication in Spring Security, covering filter placement, claims, and the token revocation problem it doesn't solve.