[corlib] Use ManualResetEvent.WaitOne instead of Thread.Sleep to test Thread.Interrupt
[mono.git] / mcs / class / System.Web.Abstractions / System.Web / HttpServerUtilityBase.cs
1 //
2 // HttpServerUtilityBase.cs
3 //
4 // Author:
5 //      Atsushi Enomoto <atsushi@ximian.com>
6 //
7 // Copyright (C) 2008 Novell Inc. http://novell.com
8 //
9
10 //
11 // Permission is hereby granted, free of charge, to any person obtaining
12 // a copy of this software and associated documentation files (the
13 // "Software"), to deal in the Software without restriction, including
14 // without limitation the rights to use, copy, modify, merge, publish,
15 // distribute, sublicense, and/or sell copies of the Software, and to
16 // permit persons to whom the Software is furnished to do so, subject to
17 // the following conditions:
18 // 
19 // The above copyright notice and this permission notice shall be
20 // included in all copies or substantial portions of the Software.
21 // 
22 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
25 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
26 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
27 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
28 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29 //
30 using System;
31 using System.Collections;
32 using System.Collections.Generic;
33 using System.Collections.Specialized;
34 using System.Globalization;
35 using System.IO;
36 using System.Runtime.CompilerServices;
37 using System.Security.Permissions;
38 using System.Security.Principal;
39 using System.Web.Caching;
40 using System.Web.Profile;
41
42 namespace System.Web
43 {
44         [TypeForwardedFrom ("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
45         [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
46         [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
47         public abstract class HttpServerUtilityBase
48         {
49                 void NotImplemented ()
50                 {
51                         throw new NotImplementedException ();
52                 }
53
54                 public virtual string MachineName { get { NotImplemented (); return null; } }
55
56                 public virtual int ScriptTimeout { get { NotImplemented (); return 0; } set { NotImplemented (); } }
57
58
59                 public virtual void ClearError ()
60                 {
61                         NotImplemented ();
62                 }
63
64                 public virtual object CreateObject (string progID)
65                 {
66                         NotImplemented ();
67                         return null;
68                 }
69
70                 public virtual object CreateObject (Type type)
71                 {
72                         NotImplemented ();
73                         return null;
74                 }
75
76                 public virtual object CreateObjectFromClsid (string clsid)
77                 {
78                         NotImplemented ();
79                         return null;
80                 }
81
82                 public virtual void Execute (string path)
83                 {
84                         NotImplemented ();
85                 }
86
87                 public virtual void Execute (string path, bool preserveForm)
88                 {
89                         NotImplemented ();
90                 }
91
92                 public virtual void Execute (string path, TextWriter writer)
93                 {
94                         NotImplemented ();
95                 }
96
97                 public virtual void Execute (string path, TextWriter writer, bool preserveForm)
98                 {
99                         NotImplemented ();
100                 }
101
102                 public virtual void Execute (IHttpHandler handler, TextWriter writer, bool preserveForm)
103                 {
104                         NotImplemented ();
105                 }
106
107                 public virtual Exception GetLastError ()
108                 {
109                         NotImplemented ();
110                         return null;
111                 }
112
113                 public virtual string HtmlDecode (string s)
114                 {
115                         NotImplemented ();
116                         return null;
117                 }
118
119                 public virtual void HtmlDecode (string s, TextWriter output)
120                 {
121                         NotImplemented ();
122                 }
123
124                 public virtual string HtmlEncode (string s)
125                 {
126                         NotImplemented ();
127                         return null;
128                 }
129
130                 public virtual void HtmlEncode (string s, TextWriter output)
131                 {
132                         NotImplemented ();
133                 }
134
135                 public virtual string MapPath (string path)
136                 {
137                         NotImplemented ();
138                         return null;
139                 }
140
141                 public virtual void Transfer (string path)
142                 {
143                         NotImplemented ();
144                 }
145
146                 public virtual void Transfer (string path, bool preserveForm)
147                 {
148                         NotImplemented ();
149                 }
150
151                 public virtual void Transfer (IHttpHandler handler, bool preserveForm)
152                 {
153                         NotImplemented ();
154                 }
155
156                 public virtual void TransferRequest (string path)
157                 {
158                         NotImplemented ();
159                 }
160
161                 public virtual void TransferRequest (string path, bool preserveForm)
162                 {
163                         NotImplemented ();
164                 }
165
166                 public virtual void TransferRequest (string path, bool preserveForm, string method, NameValueCollection headers)
167                 {
168                         NotImplemented ();
169                 }
170
171                 public virtual string UrlDecode (string s)
172                 {
173                         NotImplemented ();
174                         return null;
175                 }
176
177                 public virtual void UrlDecode (string s, TextWriter output)
178                 {
179                         NotImplemented ();
180                 }
181
182                 public virtual string UrlEncode (string s)
183                 {
184                         NotImplemented ();
185                         return null;
186                 }
187
188                 public virtual void UrlEncode (string s, TextWriter output)
189                 {
190                         NotImplemented ();
191                 }
192
193                 public virtual string UrlPathEncode (string s)
194                 {
195                         NotImplemented ();
196                         return null;
197                 }
198
199                 public virtual byte [] UrlTokenDecode (string input)
200                 {
201                         NotImplemented ();
202                         return null;
203                 }
204
205                 public virtual string UrlTokenEncode (byte [] input)
206                 {
207                         NotImplemented ();
208                         return null;
209                 }
210         }
211 }