Class UrlFactory

java.lang.Object
io.github.ascopes.protobufmavenplugin.urls.UrlFactory

@Named public final class UrlFactory extends Object
Workaround for loading URLs with custom protocols defined in this ClassWorlds realm.

URL, by default, will query the service loader for the default class loader only when converting itself into a URLConnection. This is problematic for us as we cannot see any implementations we've put on the classpath.

Any implementations are expected to be injected via CDI.

Since:
3.10.0
Author:
Ashley Scopes
  • Constructor Details

    • UrlFactory

      public UrlFactory()
  • Method Details