C# 클래스 Sdl.Web.Common.Models.PageModelWithHttpResponseData

Represents the View Model for a Page with additional HTTP Response data (cookies, headers).
상속: PageModel
파일 보기 프로젝트 열기: sdl/dxa-web-application-dotnet

공개 메소드들

메소드 설명
SetHttpResponseData ( HttpResponse httpResponse ) : void

Sets the HTTP Response data (cookies, header).

This should only be used to set HTTP headers (incl. cookies); setting the HTTP response body is a responsibility of the Page Controller. This method is called by the DXA Page Controller before rendering the body.

보호된 메소드들

메소드 설명
PageModelWithHttpResponseData ( string id ) : System.Web

Initializes a new instance of PageModelWithHttpResponseData.

메소드 상세

PageModelWithHttpResponseData() 보호된 메소드

Initializes a new instance of PageModelWithHttpResponseData.
protected PageModelWithHttpResponseData ( string id ) : System.Web
id string The identifier of the Page.
리턴 System.Web

SetHttpResponseData() 공개 추상적인 메소드

Sets the HTTP Response data (cookies, header).
This should only be used to set HTTP headers (incl. cookies); setting the HTTP response body is a responsibility of the Page Controller. This method is called by the DXA Page Controller before rendering the body.
public abstract SetHttpResponseData ( HttpResponse httpResponse ) : void
httpResponse System.Web.HttpResponse The HTTP Response to set the data on.
리턴 void