C# 클래스 ClearCanvas.Common.Rest.RestClient.Response

Represents the response to an HTTP request.
상속: IDisposable
파일 보기 프로젝트 열기: jasper-yeh/ClearCanvas

공개 메소드들

메소드 설명
AsString ( ) : string

Obtains the body of the response as a string, and closes the response.

Dispose ( ) : void

Closes the response.

GetFilename ( ) : string
GetResponseStream ( ) : Stream

Gets the response stream. It is the responsibility of the consumer to dispose of the stream when finished.

IsContentMultipartRelated ( ) : bool
WriteToStream ( Stream stream ) : void

Writes the body of the response to the specified stream, and closes the response.

비공개 메소드들

메소드 설명
EnsureCleanUp ( ) : void
Response ( HttpWebResponse response ) : System

메소드 상세

AsString() 공개 메소드

Obtains the body of the response as a string, and closes the response.
public AsString ( ) : string
리턴 string

Dispose() 공개 메소드

Closes the response.
public Dispose ( ) : void
리턴 void

GetFilename() 공개 메소드

public GetFilename ( ) : string
리턴 string

GetResponseStream() 공개 메소드

Gets the response stream. It is the responsibility of the consumer to dispose of the stream when finished.
public GetResponseStream ( ) : Stream
리턴 Stream

IsContentMultipartRelated() 공개 메소드

public IsContentMultipartRelated ( ) : bool
리턴 bool

WriteToStream() 공개 메소드

Writes the body of the response to the specified stream, and closes the response.
public WriteToStream ( Stream stream ) : void
stream Stream
리턴 void