WebPageHttpHandler WebPageHttpHandler 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
WebPageHttpHandlerWebPageHttpHandlerWebPageHttpHandler
Implements

Constructors

WebPageHttpHandler(WebPage) WebPageHttpHandler(WebPage) WebPageHttpHandler(WebPage)

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

Fields

WebPagesVersionHeaderName WebPagesVersionHeaderName 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 DisableWebPagesResponseHeader DisableWebPagesResponseHeader

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

IsReusable IsReusable IsReusable

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

Methods

CreateFromVirtualPath(String) CreateFromVirtualPath(String) CreateFromVirtualPath(String)

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

GetRegisteredExtensions() GetRegisteredExtensions() GetRegisteredExtensions()

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

ProcessRequest(HttpContext) ProcessRequest(HttpContext) ProcessRequest(HttpContext)

Processes the web page by using the specified context.

RegisterExtension(String) RegisterExtension(String) RegisterExtension(String)

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

Applies to