WebPageHttpHandler Class

Definition

Provides methods and properties that are used to process specific URL extensions.

public class WebPageHttpHandler : System.Web.IHttpHandler, System.Web.SessionState.IRequiresSessionState
type WebPageHttpHandler = class
    interface IHttpHandler
    interface IRequiresSessionState
Public Class WebPageHttpHandler
Implements IHttpHandler, IRequiresSessionState
Inheritance
WebPageHttpHandler
Implements

Constructors

WebPageHttpHandler(WebPage)

Initializes a new instance of the WebPageHttpHandler class by using the specified web page.

Fields

WebPagesVersionHeaderName

The HTML tag name (X-AspNetWebPages-Version) for the version of the ASP.NET Web Pages specification that is used by this web page.

Properties

DisableWebPagesResponseHeader

Gets or sets a value that indicates whether web page response headers are disabled.

IsReusable

Gets a value that indicates whether another request can use the WebPageHttpHandler instance.

Methods

CreateFromVirtualPath(String)

Creates a new IHttpHandler handler object from the specified virtual path.

GetRegisteredExtensions()

Returns a list of file name extensions that the current WebPageHttpHandler instance can process.

ProcessRequest(HttpContext)

Processes the web page by using the specified context.

RegisterExtension(String)

Adds a file name extension to the list of extensions that are processed by the current WebPageHttpHandler instance.

Applies to