C# Класс Stumps.Server.Data.HttpResponseEntityReader

A class that provides an T:Stumps.IStumpsHttpResponse implementation using a T:Stumps.Server.Data.HttpResponseEntity object.
Наследование: IStumpsHttpResponse
Показать файл Открыть проект

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

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