@Override
    public String getFilename() {
        return StringUtils.getFilename(getCleanedUrl().getPath());
    }
This implementation returns the name of the file that this URL refers to.

see java.net.URL#getPath()
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/io/UrlResource.java