Skip to content

Does Java HTTP Client handle compression

I tried to find any mention of handling of compression in new Java HTTP Client but failed. Is there a built-in configuration to handle for e.g. gzip or deflate compression? I would expect to have a …

Grouping and Double sorting List

I went through all the manuals out there and all SO questions but still unable to figure this out… I have a List (integer represents age): I need to: group the list by age, sort by group sizes (descending), sort by age (descending) So using the example above the result would have to be like this: What I…

Is there an equivalent for Springs Resource in Micronaut?

I am migrating a tiny Spring Boot application to Micronaut 1.0.1 and I was wondering if there is an equivalent for org.springframework.core.io.Resource and their implementation such as ClasspathResource? In Spring Boot I inject a resource into a service using its constructor. How can I do this in Micronaut? A…