String location = secure ?
urlUtilities.buildSecure(path) :
urlUtilities.buildStandard(path, defaultPort);
with(Globals.RACK_RESPONSE, response.withHeader("Location", location));
throw new RedirectException();
}
}
public void setRedirect(String path, boolean secure) throws RedirectException {