code: private Pair<String, String> extractParam(String part) {
          int eqInx = part.indexOf('=');
          String paramName;
          String paramValue;
          if (eqInx < 0) {
              paramName = part;
              paramValue = null;
          } else {
              paramName = part.substring(0, eqInx);
              paramValue = part.substring(eqInx + 1);
          }
          return Pair.create(paramName, paramValue);
      }
docs: Split the given k=v (or just k) param into a Pair object.