summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Web/IHttpContext.cs
blob: 186b8c4ea45200f44bc8e32a118bad75fceb4188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using System;
using System.Collections;
using System.Security.Principal;
using System.Web;
using System.Web.Caching;
using System.Web.Profile;
using System.Web.SessionState;

namespace Marina.Web {
	public interface IHttpContext {
		void AddError( Exception errorInfo );

		void ClearError( );

		object GetSection( string sectionName );

		void RewritePath( string path );

		void RewritePath( string path, bool rebaseClientPath );

		void RewritePath( string filePath, string pathInfo, string queryString );

		void RewritePath( string filePath, string pathInfo, string queryString, bool setClientFilePath );

		HttpApplication ApplicationInstance { get; set; }

		HttpApplicationState Application { get; }

		IHttpHandler Handler { get; set; }

		IHttpHandler PreviousHandler { get; }

		IHttpHandler CurrentHandler { get; }

		HttpRequest Request { get; }

		HttpResponse Response { get; }

		TraceContext Trace { get; }

		IDictionary Items { get; }

		HttpSessionState Session { get; }

		HttpServerUtility Server { get; }

		Exception Error { get; }

		Exception[] AllErrors { get; }

		IPrincipal User { get; set; }

		ProfileBase Profile { get; }

		bool SkipAuthorization { get; set; }

		bool IsDebuggingEnabled { get; }

		bool IsCustomErrorEnabled { get; }

		DateTime Timestamp { get; }

		Cache Cache { get; }

		RequestNotification CurrentNotification { get; }

		bool IsPostNotification { get; }
	}
}