Azkaban的Web Server源碼探究系列12: 首頁以前的跳轉

上節說到,登錄成功後,會發起新的請求GET /web

這個時候又進入 azkaban.webapp.servlet.IndexRedirectServlet.doGetcookie

只不過,此次是登錄成功的,cookie裏有的sessionid.session

看這個請求的結果app

=================================================webapp

這個其實最終執行了ide

  @Overridespa

  protected void handleGet(HttpServletRequest req, HttpServletResponse resp,servlet

      Session session) throws ServletException, IOException {io

    resp.sendRedirect(defaultServletPath);請求

  }

很少說了!

相關文章
相關標籤/搜索