C# Class Sdl.Web.Modules.AzureWebApp.AzureUnknownLocalizationHandler

Unknown Localization Handler used for Just-In-Time Provisioning in Azure Web App.
Inheritance: IUnknownLocalizationHandler
Datei anzeigen Open project: sdl/dxa-modules

Public Methods

Method Description
HandleUnknownLocalization ( DxaUnknownLocalizationException exception, HttpRequest request, HttpResponse response ) : Localization

Handles a Request for an Unknown Localization (i.e. the request URL doesn't map to a Publication).

Private Methods

Method Description
SendNotFoundResponse ( string message, HttpResponse httpResponse ) : void

Method Details

HandleUnknownLocalization() public method

Handles a Request for an Unknown Localization (i.e. the request URL doesn't map to a Publication).
public HandleUnknownLocalization ( DxaUnknownLocalizationException exception, HttpRequest request, HttpResponse response ) : Localization
exception Sdl.Web.Common.DxaUnknownLocalizationException The exception.
request HttpRequest The HTTP Request.
response System.Web.HttpResponse The HTTP Response. In order to return a different HTTP Response than the default, /// the response headers and body should be set and should be called to terminate the HTTP processing pipeline. ///
return Localization