zoukankan      html  css  js  c++  java
  • HttpRequest在整个HttpModule中的生命周期

    Http Request开始
                            |
                           HttpModule
                                |
                         HttpModule.BeginRequest()
                            |
                    HttpModule.AuthenticateRequest()
                            |
                          HttpModule.AuthorizeRequest()
                            |
                      HttpModule.ResolveRequestCache()
                            |
                        建立HttpHandler控制点
                            |
                    接着处理(HttpHandler已经建立,此后Session可用)
                            |
                      HttpModule.AcquireRequestState()
                            |
                    HttpModule.PreRequestHandlerExecute()
                            |
                       进入HttpHandler处理HttpRequest
                            |
                        HttpHandler.ProcessRequest()
                            |
                返回到HttpModule接着处理(HttpHandler生命周期结束,Session失效)
                            |
                    HttpModule.PostRequestHandlerExecute()
                            |
                    HttpModule.ReleaseRequestState()
                            |
                    HttpModule.UpdateRequestCache()
                            |
                        HttpModule.EndRequest()
                            |
                    HttpModule.PreSendRequestHeaders()
                            |
                    HttpModule.PreSendRequestContent()
                            |
                        将处理后的数据返回客户端
                            |
                             整个Http Request处理结束
  • 相关阅读:
    json.parse 与 json.stringfy
    window.self ->window.top->window.parent
    Matrix探究细谈
    android TypedValue.applyDimension()的探究
    Android判断屏幕锁屏的步骤总结
    Intent和IntentFilter详解
    android中活动的启动模式
    android中的显式与隐式Intent
    android中的Pending.getActivity()参数详解
    android之传感器
  • 原文地址:https://www.cnblogs.com/winner/p/660229.html
Copyright © 2011-2022 走看看