* TagAttribute.cs: attributes can be stored as encoded html so we
[mono.git] / mcs / class / System.Web / System.Web / HttpMethodNotAllowedHandler.cs
1 //
2 // System.Web.HttpMethodNotAllowedHandler
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2002 Ximian, Inc (http://www.ximian.com)
8 //
9
10 namespace System.Web
11 {
12         class HttpMethodNotAllowedHandler : IHttpHandler
13         {
14                 public void ProcessRequest (HttpContext context)
15                 {
16                         throw new HttpException (405, "Method not allowed");
17                 }
18
19                 public bool IsReusable {
20                         get { return true; }
21                 }
22         }
23 }
24