Class RoutableDocumentFilter
Utility class used to check if the current request is for a front-end request
Inheritance
System.Object
Namespace: Umbraco.Web
Assembly: Umbraco.Web.dll
Syntax
public sealed class RoutableDocumentFilter
Remarks
There are various checks to determine if this is a front-end request such as checking if the request is part of any reserved paths or existing MVC routes.
Constructors
View SourceRoutableDocumentFilter(IGlobalSettings)
Declaration
public RoutableDocumentFilter(IGlobalSettings globalSettings)
Parameters
Type | Name | Description |
---|---|---|
IGlobalSettings | globalSettings |
Methods
View SourceIsDocumentRequest(HttpContextBase, Uri)
Checks if the request is a document request (i.e. one that the module should handle)
Declaration
public bool IsDocumentRequest(HttpContextBase httpContext, Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Web.HttpContextBase | httpContext | |
System.Uri | uri |
Returns
Type | Description |
---|---|
System.Boolean |