question: protected static String canonicalizePrefix ( String prefix ) { prefix = prefix . replace ( '\\' , '/' ) ; if ( prefix . length ( ) > 0 && ! prefix . endsWith ( "/" ) ) { prefix += "/" ; } return prefix ; }
target:  Can be used by subclasses to canonicalize URL path prefixes.