RewriterFactoryHandlerGetHandler Method |
GetHandler is executed by the ASP.NET pipeline after the associated HttpModules have run. The job of
GetHandler is to return an instance of an HttpHandler that can process the page.
Namespace: X3Platform.Web.UrlRewriterAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual IHttpHandler GetHandler(
HttpContext context,
string requestType,
string url,
string pathTranslated
)
public:
virtual IHttpHandler^ GetHandler(
HttpContext^ context,
String^ requestType,
String^ url,
String^ pathTranslated
)
Parameters
- context
- Type: System.WebHttpContext
The HttpContext for this request. - requestType
- Type: SystemString
The HTTP data transfer method (GET or POST) - url
- Type: SystemString
The RawUrl of the requested resource. - pathTranslated
- Type: SystemString
The physical path to the requested resource.
Return Value
Type:
IHttpHandlerAn instance that implements IHttpHandler; specifically, an HttpHandler instance returned
by the
PageParser class, which is the same class that the default ASP.NET PageHandlerFactory delegates
to.
Implements
IHttpHandlerFactoryGetHandler(HttpContext, String, String, String)
See Also