private void routeSingleGetRequest(RequestAndResponse requestAndResponse,String uri) throws IOException, ServletException {
  if (uri.startsWith("/notebooks/")) {
    handleHtmlShowNotebooks(requestAndResponse);
  }
 else   if (uri.startsWith("/quotations/")) {
    handleHtmlShowQuotations(requestAndResponse);
  }
 else   if (uri.startsWith("/sources/")) {
    handleHtmlShowSources(requestAndResponse);
  }
 else   if (uri.startsWith("/source/")) {
    handleHtmlShowSource(requestAndResponse);
  }
 else   if (uri.startsWith("/notebook/")) {
    handleHtmlShowNotebook(requestAndResponse);
  }
 else   if (uri.startsWith("/search/")) {
    handleHtmlSearch(requestAndResponse);
  }
 else   if (uri.equals("/help/")) {
    handleHtmlBasicHelp(requestAndResponse);
  }
 else   if (uri.equals("/advancedHelp/")) {
    handleHtmlAdvancedHelp(requestAndResponse);
  }
 else   if (uri.startsWith("/help/")) {
    handleHtmlHelp(requestAndResponse);
  }
 else   if (uri.equals("/backup/")) {
    handleHtmlUserBackupForm(requestAndResponse);
  }
 else   if (uri.equals("/restore/")) {
    handleHtmlUserRestoreForm(requestAndResponse);
  }
 else   if (uri.startsWith("/account/")) {
    handleHtmlShowAccount(requestAndResponse);
  }
 else   if (uri.startsWith("/accounts/")) {
    handleHtmlShowAccounts(requestAndResponse);
  }
 else   if (uri.equals("/shutdown/")) {
    handleHtmlShutdownForm(requestAndResponse);
  }
 else   if (uri.equals("/clear/")) {
    handleHtmlClearForm(requestAndResponse);
  }
 else   if (uri.equals("/onlineBackup/")) {
    handleHtmlOnlineBackupForm(requestAndResponse);
  }
 else   if (uri.equals("/checkForErrors/")) {
    handleHtmlCheckForErrorsForm(requestAndResponse);
  }
 else   if (uri.equals("/backups/")) {
    handleHtmlShowDBBackups(requestAndResponse);
  }
 else   if (uri.equals("/offlineBackup/")) {
    handleHtmlOfflineDbBackupForm(requestAndResponse);
  }
 else   if (uri.equals("/noteJson/")) {
    handleJsonShowEntry(requestAndResponse);
  }
 else   if (uri.equals("/noteParentJson/")) {
    handleJsonShowEntryParent(requestAndResponse);
  }
 else   if (uri.equals("/noteChildrenJson/")) {
    handleJsonShowEntryChildren(requestAndResponse);
  }
 else   if (uri.equals("/searchNotesJson/")) {
    handleJsonSearchNotes(requestAndResponse);
  }
 else   if (uri.equals("/newNotebook/")) {
    handleHtmlNewNotebookForm(requestAndResponse);
  }
 else   if (uri.equals("/nothing/")) {
    handleHtmlNothing(requestAndResponse);
  }
 else   if (uri.equals("/couldNotCreateNote/")) {
    handleHtmlCouldNotCreateNote(requestAndResponse);
  }
 else   if (uri.equals("/restoreBackupCommand/")) {
    handleHtmlShowRestoreDbBackupCommand(requestAndResponse);
  }
 else   if (uri.equals("/signedOut/")) {
    handleHtmlShowSignedOut(requestAndResponse);
  }
 else   if (uri.startsWith("/changePassword/")) {
    handleHtmlChangePassword(requestAndResponse);
  }
 else   if (uri.startsWith("/changeAccount/")) {
    handleHtmlChangeAccount(requestAndResponse);
  }
 else   if (uri.startsWith("/closeAccount/")) {
    handleHtmlCloseAccount(requestAndResponse);
  }
 else   if (uri.equals("/isSignedIn/")) {
    handleJsonIsSignedIn(requestAndResponse);
  }
 else   if (uri.equals("/restoreFrame/")) {
    handleHtmlUserRestoreFrame(requestAndResponse);
  }
 else {
    returnHtml404(requestAndResponse);
  }
}

private void routeSingleGetRequest ( RequestAndResponse requestAndResponse , String uri ) throws IOException , ServletException { if ( uri . startsWith ( "/notebooks/" ) ) { handleHtmlShowNotebooks ( requestAndResponse ) ; } else if ( uri . startsWith ( "/quotations/" ) ) { handleHtmlShowQuotations ( requestAndResponse ) ; } else if ( uri . startsWith ( "/sources/" ) ) { handleHtmlShowSources ( requestAndResponse ) ; } else if ( uri . startsWith ( "/source/" ) ) { handleHtmlShowSource ( requestAndResponse ) ; } else if ( uri . startsWith ( "/notebook/" ) ) { handleHtmlShowNotebook ( requestAndResponse ) ; } else if ( uri . startsWith ( "/search/" ) ) { handleHtmlSearch ( requestAndResponse ) ; } else if ( uri . equals ( "/help/" ) ) { handleHtmlBasicHelp ( requestAndResponse ) ; } else if ( uri . equals ( "/advancedHelp/" ) ) { handleHtmlAdvancedHelp ( requestAndResponse ) ; } else if ( uri . startsWith ( "/help/" ) ) { handleHtmlHelp ( requestAndResponse ) ; } else if ( uri . equals ( "/backup/" ) ) { handleHtmlUserBackupForm ( requestAndResponse ) ; } else if ( uri . equals ( "/restore/" ) ) { handleHtmlUserRestoreForm ( requestAndResponse ) ; } else if ( uri . startsWith ( "/account/" ) ) { handleHtmlShowAccount ( requestAndResponse ) ; } else if ( uri . startsWith ( "/accounts/" ) ) { handleHtmlShowAccounts ( requestAndResponse ) ; } else if ( uri . equals ( "/shutdown/" ) ) { handleHtmlShutdownForm ( requestAndResponse ) ; } else if ( uri . equals ( "/clear/" ) ) { handleHtmlClearForm ( requestAndResponse ) ; } else if ( uri . equals ( "/onlineBackup/" ) ) { handleHtmlOnlineBackupForm ( requestAndResponse ) ; } else if ( uri . equals ( "/checkForErrors/" ) ) { handleHtmlCheckForErrorsForm ( requestAndResponse ) ; } else if ( uri . equals ( "/backups/" ) ) { handleHtmlShowDBBackups ( requestAndResponse ) ; } else if ( uri . equals ( "/offlineBackup/" ) ) { handleHtmlOfflineDbBackupForm ( requestAndResponse ) ; } else if ( uri . equals ( "/noteJson/" ) ) { handleJsonShowEntry ( requestAndResponse ) ; } else if ( uri . equals ( "/noteParentJson/" ) ) { handleJsonShowEntryParent ( requestAndResponse ) ; } else if ( uri . equals ( "/noteChildrenJson/" ) ) { handleJsonShowEntryChildren ( requestAndResponse ) ; } else if ( uri . equals ( "/searchNotesJson/" ) ) { handleJsonSearchNotes ( requestAndResponse ) ; } else if ( uri . equals ( "/newNotebook/" ) ) { handleHtmlNewNotebookForm ( requestAndResponse ) ; } else if ( uri . equals ( "/nothing/" ) ) { handleHtmlNothing ( requestAndResponse ) ; } else if ( uri . equals ( "/couldNotCreateNote/" ) ) { handleHtmlCouldNotCreateNote ( requestAndResponse ) ; } else if ( uri . equals ( "/restoreBackupCommand/" ) ) { handleHtmlShowRestoreDbBackupCommand ( requestAndResponse ) ; } else if ( uri . equals ( "/signedOut/" ) ) { handleHtmlShowSignedOut ( requestAndResponse ) ; } else if ( uri . startsWith ( "/changePassword/" ) ) { handleHtmlChangePassword ( requestAndResponse ) ; } else if ( uri . startsWith ( "/changeAccount/" ) ) { handleHtmlChangeAccount ( requestAndResponse ) ; } else if ( uri . startsWith ( "/closeAccount/" ) ) { handleHtmlCloseAccount ( requestAndResponse ) ; } else if ( uri . equals ( "/isSignedIn/" ) ) { handleJsonIsSignedIn ( requestAndResponse ) ; } else if ( uri . equals ( "/restoreFrame/" ) ) { handleHtmlUserRestoreFrame ( requestAndResponse ) ; } else { returnHtml404 ( requestAndResponse ) ; } }
routes a single get request .
