dap4/d4servlet/src/main/java/dap4/servlet/URLMapDefault.java
@Override
    public Result
    mapURL(String urlpath)
            throws DapException
    {
        // Canonicalize the urlpath
        urlpath = DapUtil.canonicalpath(urlpath);
        Result result = longestmatch(url2path, urlpath);
        return result;
    }
@Override
    public Result
    mapURL(String urlpath)
            throws DapException
    {
        // Canonicalize the urlpath
        urlpath = DapUtil.canonicalpath(urlpath);
        Result result = longestmatch(url2path, urlpath);
        return result;
    }
URLMap API