code: public static String getRawPath(final URI uri, final boolean strict) {
          return esc(strict).escapePath(prependSlash(Strings.nullToEmpty(uri.getRawPath())));
      }
docs: Returns the raw (and normalized) path of the given URI - prefixed with a "/".  This means that an empty path
  becomes a single slash.
  
  @param uri the URI to extract the path from
  @param strict whether or not to do strict escaping
  @return the extracted path