C# 클래스 Sdl.Web.Modules.SmartTarget.Models.SmartTargetPageModel

상속: Sdl.Web.Common.Models.PageModel
파일 보기 프로젝트 열기: sdl/dxa-modules 1 사용 예제들

공개 메소드들

메소드 설명
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