IMapPathProvider Interface

 

Retrieves information about a path that is being physically mapped.

Syntax

class IMapPathProvider : public IHttpEventProvider  

Methods

The following table lists the methods exposed by the IMapPathProvider class.

Name Description
GetPhysicalPath Retrieves the physical path for the current request.
GetUrl Retrieves the relative URL for the request.
SetErrorStatus (Inherited from IHttpEventProvider.)
SetPhysicalPath Sets the physical path mapping for the current request.

Remarks

When a Web client requests a resource on a server running IIS, IIS maps the relative URL to a physical path for processing. For example, if a Web client requests a Web page at http://www.example.com/default.asp, the relative URL on the server is /default.asp, and the physical path might be C:\Inetpub\Wwwroot\default.asp.

The IMapPathProvider interface allows developers to retrieve the relative URL and physical path by using the GetUrl and GetPhysicalPath methods, or to modify the physical path by using the SetPhysicalPath method.

Inheritance Hierarchy

IHttpEventProvider

IMapPathProvider

See Also

Web Server Core Interfaces
CHttpModule::OnMapPath Method