summaryrefslogtreecommitdiff
path: root/slips/src/app/Marina/Web/IHttpContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'slips/src/app/Marina/Web/IHttpContext.cs')
-rw-r--r--slips/src/app/Marina/Web/IHttpContext.cs69
1 files changed, 69 insertions, 0 deletions
diff --git a/slips/src/app/Marina/Web/IHttpContext.cs b/slips/src/app/Marina/Web/IHttpContext.cs
new file mode 100644
index 0000000..186b8c4
--- /dev/null
+++ b/slips/src/app/Marina/Web/IHttpContext.cs
@@ -0,0 +1,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; }
+ }
+} \ No newline at end of file