Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MappingHandlerFactory.CreateHandlerInstance Method

Create a handler instance for the given URL. Will try to find a match of rawUrl onto patterns in HandlerMap. If a match is found, delegates the call to the matching GetHandler method.

[Visual Basic]
Protected Overrides Sub CreateHandlerInstance( _
   ByVal appContext As IConfigurableApplicationContext, _
   ByVal context As HttpContext, _
   ByVal requestType As String, _
   ByVal rawUrl As String, _
   ByVal physicalPath As String _
)
[C#]
protected override IHttpHandler CreateHandlerInstance(
   IConfigurableApplicationContext appContext,
   HttpContext context,
   string requestType,
   string rawUrl,
   string physicalPath
);

Parameters

appContext
the application context corresponding to the current request
context
The HttpContext instance for this request.
requestType
The HTTP data transfer method (GET, POST, ...)
rawUrl
The requested RawUrl.
physicalPath
The physical path of the requested resource.

Return Value

A handler instance for processing the current request.

See Also

MappingHandlerFactory Class | Spring.Web.Support Namespace