dap4/d4servlet/src/main/java/dap4/servlet/URLMapDefault.java
@Override
    public void addEntry(String urlpath, String fileprefix)
            throws DapException
    {
        // Canonicalize the urlpath
        String urlprefix = DapUtil.canonicalpath(urlpath);
        // Canonicalize the file path
        fileprefix = DapUtil.canonicalpath(fileprefix);
        url2path.put(urlprefix, fileprefix); // overwrite
        path2url.put(fileprefix, urlprefix); // overwrite
    }
@Override
    public void addEntry(String urlpath, String fileprefix)
            throws DapException
    {
        // Canonicalize the urlpath
        String urlprefix = DapUtil.canonicalpath(urlpath);
        // Canonicalize the file path
        fileprefix = DapUtil.canonicalpath(fileprefix);
        url2path.put(urlprefix, fileprefix); // overwrite
        path2url.put(fileprefix, urlprefix); // overwrite
    }
@ Override public void addEntry ( String urlpath , String fileprefix ) throws DapException { // Canonicalize the urlpath String urlprefix = DapUtil . canonicalpath ( urlpath ) ; // Canonicalize the file path fileprefix = DapUtil . canonicalpath ( fileprefix ) ; url2path . put ( urlprefix , fileprefix ) ; // overwrite path2url . put ( fileprefix , urlprefix ) ; // overwrite }
Accessors
Accessors