~/talk

Little Treasures: The Useful Spring Classes That You Might Not Know

Talkat SpringOne at VMware Explore 2023 Las Vegas · 2023-08-21..08-24· [java]
github:mbhave
name:Phil Webb
links:none on file
slides:none on file

A small demo app (Spring Boot 3.1, Java 17) shows concrete utilities, how they’re used and why they matter: loading hotels.yaml via spring.config.import and binding to records with @ConfigurationProperties; tests that use OutputCaptureExtension and TestPropertyValues to set system properties and capture stdout without manual streams; mapping DTOs with PropertyMapper; caching on-the-fly JPEG thumbnails with ConcurrentReferenceHashMap (works and evicts under memory pressure); using Assert, LinkedCaseInsensitiveMap, MultiValueMap, Resource, FileCopyUtils, LogMessage, ThrowingSupplier and ResolvableType in real code.

AI-written summary · about

  1. 0:00Introduction to Spring treasures
  2. 2:10Demo app overview
  3. 6:09Testing utilities in Spring Boot
  4. 9:43Output capture extension
  5. 10:25Test property values
  6. 11:28Loading YAML with config
  7. 13:57Configuration properties
  8. 16:27Assert utility class
  9. 18:13Case insensitive map
  10. 20:42Multi-value map
  11. 21:26Collection utils
  12. 22:28Media type utilities
  13. 23:54Property mapper
  14. 27:04String and URI utils
  15. 28:52Jackson tester
  16. 30:41Resource abstraction
  17. 34:34Log message utilities
  18. 36:19Throwing functional interfaces
  19. 37:46File copy utilities
  20. 39:12Object utils
  21. 39:54Concurrent reference hash map
  22. 40:58Resolvable type
  23. 43:29Q&A and summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.