C# Class Sdl.Web.Modules.SmartTarget.Models.SmartTargetPageModel

Inheritance: Sdl.Web.Common.Models.PageModel
Afficher le fichier Open project: sdl/dxa-modules Class Usage Examples

Méthodes publiques

Méthode Description
SetHttpResponseData ( HttpResponse httpResponse ) : void

Sets the HTTP Response data (cookies, headers).

If the Page contains SmartTarget Experiments which didn't have cookies in the HTTP Request yet, SmartTarget will generate new Experiment cookies. The SmartTargetModelBuilder will store these new Experiment cookies in ExperimentCookies. This method is called by the DXA Page Controller before rendering the body. We use the SmartTarget CookieProcessor to set the HTTP Response cookies.

Private Methods

Méthode Description
SmartTargetPageModel ( PageModel pageModel ) : System

Method Details

SetHttpResponseData() public méthode

Sets the HTTP Response data (cookies, headers).
If the Page contains SmartTarget Experiments which didn't have cookies in the HTTP Request yet, SmartTarget will generate new Experiment cookies. The SmartTargetModelBuilder will store these new Experiment cookies in ExperimentCookies. This method is called by the DXA Page Controller before rendering the body. We use the SmartTarget CookieProcessor to set the HTTP Response cookies.
public SetHttpResponseData ( HttpResponse httpResponse ) : void
httpResponse HttpResponse The HTTP Response to set the data on.
Résultat void