LLHTTPResponseHeader Class Reference

Class which correctly builds HTTP headers on a pipe. More...

Inheritance diagram for LLHTTPResponseHeader:

Inheritance graph
[legend]
Collaboration diagram for LLHTTPResponseHeader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLHTTPResponseHeader ()
virtual ~LLHTTPResponseHeader ()

Protected Member Functions

EStatus process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump)
 Process the data in buffer.

Protected Attributes

S32 mCode

Detailed Description

Class which correctly builds HTTP headers on a pipe.

See also:
LLIOPipe
An instance of this class can be placed in a chain where it will wait for an end of stream. Once it gets that, it will count the bytes on CHANNEL_OUT (or the size of the buffer in io pipe versions prior to 2) prepend that data to the request in an HTTP format, and supply all normal HTTP response headers.

Definition at line 336 of file lliohttpserver.cpp.


Constructor & Destructor Documentation

LLHTTPResponseHeader::LLHTTPResponseHeader (  )  [inline]

Definition at line 339 of file lliohttpserver.cpp.

virtual LLHTTPResponseHeader::~LLHTTPResponseHeader (  )  [inline, virtual]

Definition at line 340 of file lliohttpserver.cpp.


Member Function Documentation

LLIOPipe::EStatus LLHTTPResponseHeader::process_impl ( const LLChannelDescriptors channels,
buffer_ptr_t buffer,
bool &  eos,
LLSD context,
LLPumpIO pump 
) [protected]

Process the data in buffer.

LLHTTPResponseHeader

Definition at line 366 of file lliohttpserver.cpp.

References LLSD::asString(), CONTEXT_RESPONSE(), HTTP_VERSION_STR, LLChannelDescriptors::in(), LLMemType::MTYPE_IO_HTTP_SERVER, NULL, LLChannelDescriptors::out(), PUMP_DEBUG, S32, LLIOPipe::STATUS_DONE, LLIOPipe::STATUS_OK, and type.


Member Data Documentation

S32 LLHTTPResponseHeader::mCode [protected]

Definition at line 358 of file lliohttpserver.cpp.


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:24 2010 for Second Life Viewer by  doxygen 1.4.7