C# Класс Sdl.Web.Modules.SmartTarget.Models.SmartTargetPageModel

Наследование: Sdl.Web.Common.Models.PageModel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
SmartTargetPageModel ( PageModel pageModel ) : System

Описание методов

SetHttpResponseData() публичный Метод

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.
Результат void