net_instaweb::StringAsyncFetch Class Reference

#include "async_fetch.h"

Inheritance diagram for net_instaweb::StringAsyncFetch:
net_instaweb::AsyncFetch net_instaweb::Writer net_instaweb::ExpectStringAsyncFetch

List of all members.

Public Member Functions

 StringAsyncFetch (GoogleString *buffer)
virtual bool HandleWrite (const StringPiece &content, MessageHandler *handler)
virtual bool HandleFlush (MessageHandler *handler)
virtual void HandleHeadersComplete ()
virtual void HandleDone (bool success)
bool success () const
bool done () const
const GoogleStringbuffer () const
void Reset ()

Detailed Description

Class to represent an Async fetch that collects the response-data into a string, which can be accessed via buffer() and cleared via Reset().

Todo:
TODO(jmarantz): move StringAsyncFetch into its own file.

Member Function Documentation

void net_instaweb::StringAsyncFetch::Reset (  )  [inline, virtual]

Resets the 'headers_complete_' flag.

Todo:
TODO(jmarantz): should this also clear the response headers?

Reimplemented from net_instaweb::AsyncFetch.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:33:51 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3