Spring Boot - Request and Response Handling
You want to create a Spring Boot endpoint that handles a user ID as a path variable and optionally accepts a query parameter
filter. If filter is missing, it should default to "all". Which method signature correctly implements this behavior?