* SessionStateModule.cs: If using cookieless sessions add an
[mono.git] / mcs / class / System.Web / System.Web.UI / WebHandlerParser.cs
1 //
2 // System.Web.UI.WebHandlerParser
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2003 Ximian, Inc (http://www.ximian.com)
8 //
9
10 using System.Web;
11 using System.Web.Compilation;
12
13 namespace System.Web.UI
14 {
15         class WebHandlerParser : SimpleWebHandlerParser
16         {
17                 private WebHandlerParser (HttpContext context, string virtualPath, string physicalPath)
18                         : base (context, virtualPath, physicalPath)
19                 {
20                 }
21
22                 public static Type GetCompiledType (HttpContext context, string virtualPath, string physicalPath)
23                 {
24                         WebHandlerParser parser = new WebHandlerParser (context, virtualPath, physicalPath);
25                         // WebServiceCompiler also does this job.
26                         return WebServiceCompiler.CompileIntoType (parser);
27                 }
28
29                 protected override string DefaultDirectiveName {
30                         get {
31                                 return "webhandler";
32                         }
33                 }
34         }
35 }
36