[SRE] Improved token fixups processing.
[mono.git] / mcs / class / System.Web.Abstractions / System.Web / HttpResponseBase.cs
1 //
2 // HttpResponseBase.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.Runtime.Serialization;
38 using System.Security.Permissions;
39 using System.Security.Principal;
40 using System.Text;
41 using System.Web.Caching;
42 using System.Threading;
43
44 using System.Web.Routing;
45
46 namespace System.Web
47 {
48         [TypeForwardedFrom ("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")]
49         [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
50         [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
51         public abstract class HttpResponseBase
52         {
53                 void NotImplemented ()
54                 {
55                         throw new NotImplementedException ();
56                 }
57
58
59                 public virtual bool Buffer { get { NotImplemented (); return false; } set { NotImplemented (); } }
60
61                 public virtual bool BufferOutput { get { NotImplemented (); return false; } set { NotImplemented (); } }
62
63                 public virtual HttpCachePolicyBase Cache { get { NotImplemented (); return null; } }
64
65                 public virtual string CacheControl { get { NotImplemented (); return null; } set { NotImplemented (); } }
66
67                 public virtual string Charset { get { NotImplemented (); return null; } set { NotImplemented (); } }
68
69                 public virtual CancellationToken ClientDisconnectedToken { get { NotImplemented (); return CancellationToken.None; } }
70
71                 public virtual Encoding ContentEncoding { get { NotImplemented (); return null; } set { NotImplemented (); } }
72
73                 public virtual string ContentType { get { NotImplemented (); return null; } set { NotImplemented (); } }
74
75                 public virtual HttpCookieCollection Cookies { get { NotImplemented (); return null; } }
76
77                 public virtual int Expires { get { NotImplemented (); return 0; } set { NotImplemented (); } }
78
79                 public virtual DateTime ExpiresAbsolute { get { NotImplemented (); return DateTime.MinValue; } set { NotImplemented (); } }
80
81                 public virtual Stream Filter { get { NotImplemented (); return null; } set { NotImplemented (); } }
82
83                 public virtual Encoding HeaderEncoding { get { NotImplemented (); return null; } set { NotImplemented (); } }
84
85                 public virtual NameValueCollection Headers { get { NotImplemented (); return null; } }
86
87                 public virtual bool IsClientConnected { get { NotImplemented (); return false; } }
88
89                 public virtual bool IsRequestBeingRedirected { get { NotImplemented (); return false; } }
90
91                 public virtual TextWriter Output { get { NotImplemented (); return null; }  set { NotImplemented (); } }
92
93                 public virtual Stream OutputStream { get { NotImplemented (); return null; } }
94
95                 public virtual string RedirectLocation { get { NotImplemented (); return null; } set { NotImplemented (); } }
96
97                 public virtual string Status { get { NotImplemented (); return null; } set { NotImplemented (); } }
98
99                 public virtual int StatusCode { get { NotImplemented (); return 0; } set { NotImplemented (); } }
100
101                 public virtual string StatusDescription { get { NotImplemented (); return null; } set { NotImplemented (); } }
102
103                 public virtual int SubStatusCode { get { NotImplemented (); return 0; } set { NotImplemented (); } }
104
105                 public virtual bool SuppressContent { get { NotImplemented (); return false; } set { NotImplemented (); } }
106
107                 public virtual bool SuppressFormsAuthenticationRedirect { get { NotImplemented (); return false; } set { NotImplemented (); } }
108
109                 public virtual bool TrySkipIisCustomErrors { get { NotImplemented (); return false; } set { NotImplemented (); } }
110
111
112                 public virtual void AddCacheDependency (params CacheDependency [] dependencies)
113                 {
114                         NotImplemented ();
115                 }
116
117
118                 public virtual void AddCacheItemDependencies (ArrayList cacheKeys)
119                 {
120                         NotImplemented ();
121                 }
122
123
124                 public virtual void AddCacheItemDependencies (string [] cacheKeys)
125                 {
126                         NotImplemented ();
127                 }
128
129
130                 public virtual void AddCacheItemDependency (string cacheKey)
131                 {
132                         NotImplemented ();
133                 }
134
135
136                 public virtual void AddFileDependencies (ArrayList filenames)
137                 {
138                         NotImplemented ();
139                 }
140
141
142                 public virtual void AddFileDependencies (string [] filenames)
143                 {
144                         NotImplemented ();
145                 }
146
147
148                 public virtual void AddFileDependency (string filename)
149                 {
150                         NotImplemented ();
151                 }
152
153
154                 public virtual void AddHeader (string name, string value)
155                 {
156                         NotImplemented ();
157                 }
158
159
160                 public virtual void AppendCookie (HttpCookie cookie)
161                 {
162                         NotImplemented ();
163                 }
164
165
166                 public virtual void AppendHeader (string name, string value)
167                 {
168                         NotImplemented ();
169                 }
170
171
172                 public virtual void AppendToLog (string param)
173                 {
174                         NotImplemented ();
175                 }
176
177
178                 public virtual string ApplyAppPathModifier (string virtualPath)
179                 {
180                         NotImplemented ();
181                         return null;
182                 }
183
184
185                 public virtual void BinaryWrite (byte [] buffer)
186                 {
187                         NotImplemented ();
188                 }
189
190
191                 public virtual void Clear ()
192                 {
193                         NotImplemented ();
194                 }
195
196
197                 public virtual void ClearContent ()
198                 {
199                         NotImplemented ();
200                 }
201
202
203                 public virtual void ClearHeaders ()
204                 {
205                         NotImplemented ();
206                 }
207
208
209                 public virtual void Close ()
210                 {
211                         NotImplemented ();
212                 }
213
214
215                 public virtual void DisableKernelCache ()
216                 {
217                         NotImplemented ();
218                 }
219
220
221                 public virtual void End ()
222                 {
223                         NotImplemented ();
224                 }
225
226
227                 public virtual void Flush ()
228                 {
229                         NotImplemented ();
230                 }
231
232
233                 public virtual void Pics (string value)
234                 {
235                         NotImplemented ();
236                 }
237
238
239                 public virtual void Redirect (string url)
240                 {
241                         NotImplemented ();
242                 }
243
244
245                 public virtual void Redirect (string url, bool endResponse)
246                 {
247                         NotImplemented ();
248                 }
249                 public virtual void RedirectPermanent (string url)
250                 {
251                         NotImplemented ();
252                 }
253
254                 public virtual void RedirectPermanent (string url, bool endResponse)
255                 {
256                         NotImplemented ();
257                 }
258
259                 public virtual void RedirectToRoute (object routeValues)
260                 {
261                         NotImplemented ();
262                 }
263
264                 public virtual void RedirectToRoute (RouteValueDictionary routeValues)
265                 {
266                         NotImplemented ();
267                 }
268
269                 public virtual void RedirectToRoute (string routeName)
270                 {
271                         NotImplemented ();
272                 }
273
274                 public virtual void RedirectToRoute (string routeName, object routeValues)
275                 {
276                         NotImplemented ();
277                 }
278
279                 public virtual void RedirectToRoute (string routeName, RouteValueDictionary routeValues)
280                 {
281                         NotImplemented ();
282                 }
283
284                 public virtual void RedirectToRoutePermanent (object routeValues)
285                 {
286                         NotImplemented ();
287                 }
288
289                 public virtual void RedirectToRoutePermanent (RouteValueDictionary routeValues)
290                 {
291                         NotImplemented ();
292                 }
293
294                 public virtual void RedirectToRoutePermanent (string routeName)
295                 {
296                         NotImplemented ();
297                 }
298
299                 public virtual void RedirectToRoutePermanent (string routeName, object routeValues)
300                 {
301                         NotImplemented ();
302                 }
303
304                 public virtual void RedirectToRoutePermanent (string routeName, RouteValueDictionary routeValues)
305                 {
306                         NotImplemented ();
307                 }
308
309                 public virtual void RemoveOutputCacheItem (string path, string providerName)
310                 {
311                         NotImplemented ();
312                 }
313                 public virtual void RemoveOutputCacheItem (string path)
314                 {
315                         NotImplemented ();
316                 }
317
318
319                 public virtual void SetCookie (HttpCookie cookie)
320                 {
321                         NotImplemented ();
322                 }
323
324
325                 public virtual void TransmitFile (string filename)
326                 {
327                         NotImplemented ();
328                 }
329
330
331                 public virtual void TransmitFile (string filename, long offset, long length)
332                 {
333                         NotImplemented ();
334                 }
335
336
337                 public virtual void Write (char ch)
338                 {
339                         NotImplemented ();
340                 }
341
342
343                 public virtual void Write (object obj)
344                 {
345                         NotImplemented ();
346                 }
347
348
349                 public virtual void Write (string s)
350                 {
351                         NotImplemented ();
352                 }
353
354
355                 public virtual void Write (char [] buffer, int index, int count)
356                 {
357                         NotImplemented ();
358                 }
359
360
361                 public virtual void WriteFile (string filename)
362                 {
363                         NotImplemented ();
364                 }
365
366
367                 public virtual void WriteFile (string filename, bool readIntoMemory)
368                 {
369                         NotImplemented ();
370                 }
371
372
373                 public virtual void WriteFile (IntPtr fileHandle, long offset, long size)
374                 {
375                         NotImplemented ();
376                 }
377
378
379                 public virtual void WriteFile (string filename, long offset, long size)
380                 {
381                         NotImplemented ();
382                 }
383
384
385                 public virtual void WriteSubstitution (HttpResponseSubstitutionCallback callback)
386                 {
387                         NotImplemented ();
388                 }
389         }
390 }