Share via


WebPageHttpHandler Class

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

Inheritance Hierarchy

System.Object
  System.Web.WebPages.WebPageHttpHandler

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Class WebPageHttpHandler _
    Implements IHttpHandler, IRequiresSessionState
'Usage
Dim instance As WebPageHttpHandler
public class WebPageHttpHandler : IHttpHandler, 
    IRequiresSessionState
public ref class WebPageHttpHandler : IHttpHandler, 
    IRequiresSessionState
type WebPageHttpHandler =  
    class 
        interface IHttpHandler 
        interface IRequiresSessionState 
    end
public class WebPageHttpHandler implements IHttpHandler, IRequiresSessionState

The WebPageHttpHandler type exposes the following members.

Constructors

  Name Description
Public method WebPageHttpHandler Initializes a new instance of the WebPageHttpHandler class by using the specified web page.

Top

Properties

  Name Description
Public propertyStatic member DisableWebPagesResponseHeader Gets or sets a value that indicates whether web page response headers are disabled.
Public property IsReusable Gets a value that indicates whether another request can use the WebPageHttpHandler instance.

Top

Methods

  Name Description
Public methodStatic member CreateFromVirtualPath Creates a new IHttpHandler handler object from the specified virtual path.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public methodStatic member GetRegisteredExtensions Returns a list of file name extensions that the current WebPageHttpHandler instance can process.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ProcessRequest Processes the web page by using the specified context.
Public methodStatic member RegisterExtension Adds a file name extension to the list of extensions that are processed by the current WebPageHttpHandler instance.
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member 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.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.WebPages Namespace