<How to get Locale in Webflux Functional Endpoints...
# stackoverflow
u
How to get Locale in Webflux Functional Endpoints? I am using Spring's Functional Endpoints with Kotlin to create a web service, and I'm trying to figure out the idiomatic way to resolve the Locale off using the standard Accept-Language header. Here's an example of what the code looks like: val repository: PersonRepository = ... val handler = PersonHandler(repository) val route = coRouter {...