@Override
    public Resource createRelative(String relativePath) throws MalformedURLException {
        return new UrlResource(createRelativeURL(relativePath));
    }
This implementation creates a {@code UrlResource}, delegating to
{link #createRelativeURL(String)} for adapting the relative path.

see #createRelativeURL(String)
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/core/io/UrlResource.java