Public Member Functions | Friends

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

boost::any Wt::Http::ResponseContinuation::data (  )

Return data associated with the continuation.

See also:
setData()
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.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator

Generated on Fri Feb 4 2011 for the C++ Web Toolkit (Wt) by doxygen 1.7.2