String uri = ui != null ? ui.uri: null;
final AuResponse resp;
if (uri != null) {
if (uri.length() != 0)
uri = Encodes.encodeURL(_ctx, request, response, uri);
resp = new AuSendRedirect(uri, null);
} else {
resp = new AuObsolete(
dtid, Messages.get(MZk.UPDATE_OBSOLETE_PAGE, dtid));
}
out.write(resp);