code: private void extractProtocolInfo(URI dsnUri) {
          String scheme = dsnUri.getScheme();
          if (scheme == null) {
              return;
          }
          String[] schemeDetails = scheme.split("\\+");
          protocolSettings.addAll(Arrays.asList(schemeDetails).subList(0, schemeDetails.length - 1));
          protocol = schemeDetails[schemeDetails.length - 1];
      }
docs: Extracts the scheme and additional protocol options from the DSN provided as an {@code URI}.
  
  @param dsnUri DSN as an URI.