public String createURL(String controller, String action, String namespace, String pluginName, Map parameterValues, String encoding) {
return createURLInternal(controller, action, parameterValues, true);
}
private String createURLInternal(String controller, String action, Map<String, String> parameterValues, boolean includeContextPath) {
GrailsWebRequest webRequest = (GrailsWebRequest) RequestContextHolder.getRequestAttributes();
if (parameterValues == null) parameterValues = new HashMap<String, String>();
boolean blankController = GrailsStringUtils.isBlank(controller);
boolean blankAction = GrailsStringUtils.isBlank(action);