Method | Description | |
---|---|---|
ReleaseHandler ( IHttpHandler handler ) : void |
Enables a factory to release an existing System.Web.IHttpHandler instance.
|
Method | Description | |
---|---|---|
CreateHandlerInstance ( IConfigurableApplicationContext appContext, |
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 IHttpHandlerFactory.GetHandler method.
|
|
MapHandlerInstance ( IConfigurableApplicationContext appContext, HttpContext context, string requestType, string rawUrl, string physicalPath, HandlerMap handlerMappings, IDictionary handlerWithFactoryTable ) : IHttpHandler |
Obtains a handler by mapping rawUrl to the list of patterns in handlerMappings.
|
|
ReleaseHandler ( IHttpHandler handler, IDictionary _handlerWithFactoryTable ) : void |
Removes the handler from the handler/factory dictionary and releases the handler.
|
protected CreateHandlerInstance ( IConfigurableApplicationContext appContext, |
||
appContext | IConfigurableApplicationContext | the application context corresponding to the current request |
context | The |
|
requestType | string | The HTTP data transfer method (GET, POST, ...) |
rawUrl | string | The requested |
physicalPath | string | The physical path of the requested resource. |
return | IHttpHandler |
protected MapHandlerInstance ( IConfigurableApplicationContext appContext, HttpContext context, string requestType, string rawUrl, string physicalPath, HandlerMap handlerMappings, IDictionary handlerWithFactoryTable ) : IHttpHandler | ||
appContext | IConfigurableApplicationContext | the application context corresponding to the current request |
context | HttpContext | The |
requestType | string | The HTTP data transfer method (GET, POST, ...) |
rawUrl | string | The requested |
physicalPath | string | The physical path of the requested resource. |
handlerMappings | HandlerMap | |
handlerWithFactoryTable | IDictionary | |
return | IHttpHandler |
public ReleaseHandler ( IHttpHandler handler ) : void | ||
handler | IHttpHandler |
/// The |
return | void |
protected ReleaseHandler ( IHttpHandler handler, IDictionary _handlerWithFactoryTable ) : void | ||
handler | IHttpHandler | the handler to be released |
_handlerWithFactoryTable | IDictionary | a dictionary containing ( |
return | void |