/** * Captures a backup of the current page state in history, sets the state on the given PageNode from the given state * token, then makes its widget visible in the content area. */ private <C> void navigate(final Request<C> request, final boolean fireEvent) { if (locked) { queuedRequests.add(request); return; } redirectDepth++; if (redirectDepth >= MAXIMUM_REDIRECTS) { throw new RedirectLoopException("Maximum redirect limit of " + MAXIMUM_REDIRECTS + " reached. " + "Do you have a redirect loop?"); } maybeShowPage(request, fireEvent); }
/** * Captures a backup of the current page state in history, sets the state on the given PageNode from the given state * token, then makes its widget visible in the content area. */ private <C> void navigate(final Request<C> request, final boolean fireEvent) { if (locked) { queuedRequests.add(request); return; } redirectDepth++; if (redirectDepth >= MAXIMUM_REDIRECTS) { throw new RedirectLoopException("Maximum redirect limit of " + MAXIMUM_REDIRECTS + " reached. " + "Do you have a redirect loop?"); } maybeShowPage(request, fireEvent); }