asp.net.ph

DefaultHttpHandler Class

System.Web Namespace


.NET Framework version 2.0

Represents the properties and methods of a default HTTP handler.

DefaultHttpHandler Class Members

Collapse   Constructors

Visibility Constructor Parameters
public DefaultHttpHandler ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public IsReusable Boolean [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public BeginProcessRequest ( HttpContext context , AsyncCallback callback , Object state ) IAsyncResult
public EndProcessRequest ( IAsyncResult result ) Void
public OnExecuteUrlPreconditionFailure ( ) Void
public OverrideExecuteUrlPath ( ) String
public ProcessRequest ( HttpContext context ) Void

Remarks

A DefaultHttpHandler object intercepts incoming requests in the HTTP pipeline when both request interception has been configured through Microsoft Internet Information Services (IIS) version 6.0 and no explicit httpHandlers bindings apply to the requested extension.

Request interception can be set up through the wildcard application mapping feature introduced in IIS 6.0. For more information, search the MSDN Library for information about using wildcard application maps to remap a URL.

The DefaultHttpHandler class implements the IHttpAsyncHandler interface to provide asynchronous request processing.

Classes can derive from the DefaultHttpHandler class to provide customized handling of requests. An asynchronous HTTP handler that is derived from the DefaultHttpHandler could override the BeginProcessRequest method to change how requests are processed.

A DefaultHttpHandler does not use ASP.NET errors. Existing content that uses IIS errors or a propriety ISAPI custom error mechanism would work unchanged.

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph