Package io.github.ascopes.protobufmavenplugin.urls


package io.github.ascopes.protobufmavenplugin.urls
URL provider implementations and URL fetching facilities

An unfortunate side effect of how ClassWorlds and the URL handler implementations work is that we have to handle custom provider implementations in a bespoke factory pattern. This is due to the fact URL's SPI only respects the default classloader, and we are actively operating in a shared environment that is pre-configured at runtime.

As a result, much of this machinary could be mistaken for reinventing the wheel, but this is totally intentional by design to avoid edge cases or mutating the Maven enviromment outside the bounds of this specific plugin.

  • Classes
    Class
    Description
    Component that consumes URIs to obtain resources from remote locations.
    Workaround for loading URLs with custom protocols defined in this ClassWorlds realm.