Main Page | Class Hierarchy | Class List | File List | Class Members

Common::EncodedHTTPResponse Class Reference

List of all members.

Public Member Functions

 EncodedHTTPResponse (HTTPResponse response)
 EncodedHTTPResponse (HTTPResponse resp, byte[] originalCHk, CacheManager cacheManager)
 EncodedHTTPResponse (byte[] src, int start, int length)
byte[] Serialise ()
void Deserialise (byte[] src, int start, int length)
HTTPResponse Decode (CacheManager cacheManager)

Detailed Description

<summary> Represents a delta-encoded or compressed HTTP request </summary>

Definition at line 134 of file HTTPResponse.cs.


Constructor & Destructor Documentation

Common::EncodedHTTPResponse::EncodedHTTPResponse HTTPResponse  response  )  [inline]
 

<summary> Creates a new Encoded HTTP Response based on response, and no delta encoding </summary> <param name="req">The HTTP Response to encode</param>

Definition at line 141 of file HTTPResponse.cs.

Common::EncodedHTTPResponse::EncodedHTTPResponse HTTPResponse  resp,
byte[]  originalCHk,
CacheManager  cacheManager
[inline]
 

<summary> Creates a new Encoded HTTP Response based on response, an original document and data from cache </summary> <param name="resp"></param> <param name="originalCHk"></param> <param name="cacheManager"></param>

Definition at line 149 of file HTTPResponse.cs.

References Common::CacheManager::Diff(), and Common::CacheManager::GetByChk().

Common::EncodedHTTPResponse::EncodedHTTPResponse byte[]  src,
int  start,
int  length
[inline]
 

<summary> Creates a new Encoded HTTP Request, with the specified encoded data. Processes from start until end of array </summary> <param name="src">A byte array containing encoded data</param> <param name="start">Index of start of EncodedHttpRequest in byte array</param>

Definition at line 191 of file HTTPResponse.cs.


Member Function Documentation

HTTPResponse Common::EncodedHTTPResponse::Decode CacheManager  cacheManager  )  [inline]
 

<summary> Decodes into a HTTP response object, using information from the supplied cache manager. </summary> <param name="cacheManager">Cache manager to get baseline data from if need be.</param> <returns></returns>

Definition at line 220 of file HTTPResponse.cs.

References Common::CacheManager::GetByChk(), and Common::CacheManager::Patch().


The documentation for this class was generated from the following file:
Generated on Mon May 8 22:07:27 2006 by  doxygen 1.3.9.1