AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageRouteHandlerDefault..::..ProcessHttpHandler Method

Processes an HTTP request through the Advantage routing pipeline, resolving the domain, language, and URL to the appropriate HTTP handler. Handles version checks, redirects, rewrites, and error responses.

Namespace:  AdvantageCMS.Core.Routing
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public IHttpHandler ProcessHttpHandler(
	RequestContext requestContext,
	Nullable<int> domainId,
	Nullable<int> languageId,
	string url
)

Parameters

requestContext
Type: RequestContext
The request context.
domainId
Type: Nullable<(Of <(<'Int32>)>)>
The domain identifier to force, or null to auto-detect.
languageId
Type: Nullable<(Of <(<'Int32>)>)>
The language identifier to force, or null to auto-detect.
url
Type: String
The URL to route, or null to derive from the request.

Return Value

An IHttpHandler that processes the request.

Exceptions


ExceptionCondition
InvalidOperationExceptionDefaultHandler is null