code: public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response)
          throws IOException, ServletException {
          // Don't pollute the logging with the favicon.ico requests that browsers issue.
          if (target.equals("/favicon.ico")) {
              response.sendError(404);
              return;
          }
  
          // Log the request path.
          String requestPath = target;
          if (request.getQueryString() != null) {
              requestPath += "?" + request.getQueryString();
          }
          common.log.println("-- Request: " + request.getMethod() + " " + requestPath);
  
          if (target.equals("/")) {
              doIndex(request, response);
          } else if (target.equals("/login")) {
              doLogin(request, response);
          } else if (target.equals("/home")) {
              doHome(request, response);
          } else if (target.equals("/logout")) {
              doLogout(request, response);
          // Dropbox authorize routes
          } else if (target.equals("/dropbox-auth-start")) {
              dropboxAuth.doStart(request, response);
          } else if (target.equals("/dropbox-auth-finish")) {
              dropboxAuth.doFinish(request, response);
          } else if (target.equals("/dropbox-unlink")) {
              dropboxAuth.doUnlink(request, response);
          // Dropbox file browsing routes.
          } else if (target.equals("/browse")) {
              dropboxBrowse.doBrowse(request, response);
          } else if (target.equals("/upload")) {
              dropboxBrowse.doUpload(request, response);
          } else {
              response.sendError(404);
          }
      }
docs: -------------------------------------------------------------------------------------------