Http管线中截获器的实现策略  被引量:1

The implementation strategy of intercepting Filter in HttpApplication pipeline

在线阅读下载全文

作  者:陈刚[1] 

机构地区:[1]内江职业技术学院信息电子工程系,四川内江641100

出  处:《微计算机信息》2012年第6期142-144,共3页Control & Automation

摘  要:ASP.NET HttpApplication管线(即:Http管线)是使用截取过滤器(即:截获器)模式搭建的,然而在微软官方及可查的资料中,对HttpApplication管线的设计模式都描述得相当简约而且模糊,至于截取过滤器模式在HttpApplication管线中具体的实现策略涉及得更是寥寥。本文基于源代码,深入地清晰刻画出HttpApplication管线的设计模式及其详细的实现策略,揭示了其实现策略并非是微软官网上所声称那样使用了事件驱动,而是采用模板方法结合对象适配器的方式实现的。By means of intercepting Filter Pattern, the asp.net HttpApplication pipeline is constructed, however, the design pattern of the HttpApplieation pipeline are described sketchily and vaguely in the data of MSDN and that can been retrieved, not to mention the implementation strategy of intercepting Filter Pattern in the asp.net HttpApplieation pipeline. Based on the source code, in this paper this design pattern and its implementation strategy that is the template method combining with the object adapter are portrayed deeply and clearly.

关 键 词:截取过滤器模式 HttpApplication管线 ASP.NET 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象