code: private static String aliasAsUrlPattern(final String alias) {
  		String urlPattern = alias;
  		if (urlPattern != null && !urlPattern.equals("/")
  				&& !urlPattern.contains("*")) {
  			if (urlPattern.endsWith("/")) {
  				urlPattern = urlPattern + "*";
  			} else {
  				urlPattern = urlPattern + "/*";
  			}
  		}
  		return urlPattern;
  	}
docs: Transforms an alias into a url pattern.
  
  @param alias to transform
  @return url pattern