docs: public static void setURLStreamHandlerFactory ( URLStreamHandlerFactory factory ) {
          synchronized ( PROTOCOL_HANDLERS ) {
              if ( Handler.factory != null ) {
                  throw new IllegalStateException("URLStreamHandlerFactory already set.");
              }
              PROTOCOL_HANDLERS.clear();
              Handler.factory = factory;
          }
      }