C# 클래스 Stumps.Server.RecordedResponse

A class that represents a recorded HTTP response.
상속: RecordedContextPartBase, 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.

ExamineBody ( ) : void

Examines the body for the classification, and the MD5 hash.

RecordedResponse ( IStumpsHttpResponse response, ContentDecoderHandling decoderHandling ) : System

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

메소드 상세

AppendToBody() 공개 메소드

Appends a byte array to the body of the HTTP response.
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.
Always thrown.
public ClearBody ( ) : void
리턴 void

ExamineBody() 공개 메소드

Examines the body for the classification, and the MD5 hash.
public ExamineBody ( ) : void
리턴 void

RecordedResponse() 공개 메소드

Initializes a new instance of the T:Stumps.Server.RecordedResponse class.
is null.
public RecordedResponse ( IStumpsHttpResponse response, ContentDecoderHandling decoderHandling ) : System
response IStumpsHttpResponse The used to initialize the instance.
decoderHandling ContentDecoderHandling The requirements for the HTTP body.
리턴 System