C# 클래스 Stumps.Server.Data.HttpResponseEntityReader

A class that provides an T:Stumps.IStumpsHttpResponse implementation using a T:Stumps.Server.Data.HttpResponseEntity object.
상속: IStumpsHttpResponse
파일 보기 프로젝트 열기: Cayan-LLC/stumps

공개 메소드들

메소드 설명
AppendToBody ( byte buffer ) : void

Appends a byte array to the body of the HTTP response.

ClearBody ( ) : void

Clears the existing body of the HTTP response.

GetBody ( ) : byte[]

Gets the bytes for the HTTP body.

HttpResponseEntityReader ( string serverId, HttpResponseEntity responseEntity, IDataAccess dataAccess ) : System

Initializes a new instance of the T:Stumps.Server.Data.HttpResponseEntityReader class.

메소드 상세

AppendToBody() 공개 메소드

Appends a byte array to the body of the HTTP response.
Thrown when altering the HTTP body.
public AppendToBody ( byte buffer ) : void
buffer byte The bytes to append to the body of the response.
리턴 void

ClearBody() 공개 메소드

Clears the existing body of the HTTP response.
Thrown when altering the HTTP body.
public ClearBody ( ) : void
리턴 void

GetBody() 공개 메소드

Gets the bytes for the HTTP body.
public GetBody ( ) : byte[]
리턴 byte[]

HttpResponseEntityReader() 공개 메소드

Initializes a new instance of the T:Stumps.Server.Data.HttpResponseEntityReader class.
/// is null. /// or /// is null. /// or /// is null. ///
public HttpResponseEntityReader ( string serverId, HttpResponseEntity responseEntity, IDataAccess dataAccess ) : System
serverId string The unique identifier for the server.
responseEntity HttpResponseEntity The response entity.
dataAccess IDataAccess The data access provider used by the instance.
리턴 System