pathExtension
Predicate
parameter is currently nullable on Java side because because UriUtils.extractFileExtension(request.path())
can return null
, so it signature should be changed from (String) -> Boolean
to (String?) -> Boolean
on Kotlin side to avoid a NullPointerException
when there is no extension.