Wt::Http::ResponseContinuation Class Reference

A response continuation object. More...

#include <Wt/Http/ResponseContinuation>

List of all members.

Public Member Functions

void setData (const boost::any &data)
 Set data associated with the continuation.
boost::any data ()
 Return data associated with the continuation.
WResourceresource () const
 Return the resource.

Friends

class Wt::WResource


Detailed Description

A response continuation object.

A response continuation object is used to keep track of a continued response, i.e. a response that is created in several parts.

You may associate data with the object using setData().

See also:
Response::createContinuation(), Request::continuation()

Member Function Documentation

void Wt::Http::ResponseContinuation::setData ( const boost::any &  data  ) 

Set data associated with the continuation.

You could do this to keep track of the state of sending the data for a WResource.

boost::any Wt::Http::ResponseContinuation::data (  )  [inline]

Return data associated with the continuation.

See also:
setData()


Generated on Tue Nov 3 15:34:35 2009 for Wt by doxygen 1.5.6