Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PageHandlerFactory.GetHandler Method

Retrieves instance of the configured page from Spring web application context, or if page is not defined in Spring config file tries to find it using standard ASP.Net mechanism.

[Visual Basic]
Public Overrides Sub GetHandler( _
   ByVal context As HttpContext, _
   ByVal requestType As String, _
   ByVal url As String, _
   ByVal physicalPath As String _
) _
    Implements IHttpHandlerFactory.GetHandler
[C#]
public override IHttpHandler GetHandler(
   HttpContext context,
   string requestType,
   string url,
   string physicalPath
);

Parameters

context
Current HttpContext
requestType
Type of HTTP request (GET, POST, etc.)
url
Requested page URL
physicalPath
Translated server path for the page

Return Value

Instance of the IHttpHandler object that should be used to process request.

Implements

IHttpHandlerFactory.GetHandler

See Also

PageHandlerFactory Class | Spring.Web.Support Namespace