lliohttpserver.cpp File Reference

Implementation of the http server classes. More...

#include "linden_common.h"
#include "lliohttpserver.h"
#include "llapr.h"
#include "llbuffer.h"
#include "llbufferstream.h"
#include "llhttpnode.h"
#include "lliopipe.h"
#include "lliosocket.h"
#include "llioutil.h"
#include "llmemtype.h"
#include "llmemorystream.h"
#include "llpumpio.h"
#include "llsd.h"
#include "llsdserialize_xml.h"
#include "llstl.h"
#include "lltimer.h"
#include <sstream>
#include <boost/tokenizer.hpp>

Include dependency graph for lliohttpserver.cpp:

Go to the source code of this file.

Classes

class  LLHTTPPipe
class  LLHTTPPipe::Response
class  LLHTTPResponseHeader
 Class which correctly builds HTTP headers on a pipe. More...
class  LLHTTPResponder
 This class. More...
class  LLHTTPResponseFactory

Functions

static const std::string CONTEXT_REQUEST ("request")
static const std::string CONTEXT_RESPONSE ("response")
static const std::string HTTP_VERB_GET ("GET")
static const std::string HTTP_VERB_PUT ("PUT")
static const std::string HTTP_VERB_POST ("POST")
static const std::string HTTP_VERB_DELETE ("DELETE")

Variables

static const char HTTP_VERSION_STR [] = "HTTP/1.0"
static LLIOHTTPServer::timing_callback_t sTimingCallback = NULL
static voidsTimingCallbackData = NULL


Detailed Description

Implementation of the http server classes.

Author:
Phoenix
Date:
2005-10-05
LicenseInfo
firstyear=2005&license=viewergpl

Copyright (c) 2005-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file lliohttpserver.cpp.


Function Documentation

static const std::string CONTEXT_REQUEST ( "request"   )  [static]

static const std::string CONTEXT_RESPONSE ( "response"   )  [static]

Referenced by LLHTTPResponseHeader::process_impl().

static const std::string HTTP_VERB_DELETE ( "DELETE"   )  [static]

Referenced by LLHTTPResponder::process_impl().

static const std::string HTTP_VERB_GET ( "GET"   )  [static]

Referenced by LLHTTPResponder::process_impl().

static const std::string HTTP_VERB_POST ( "POST"   )  [static]

Referenced by LLHTTPResponder::process_impl().

static const std::string HTTP_VERB_PUT ( "PUT"   )  [static]

Referenced by LLHTTPResponder::process_impl().


Variable Documentation

const char HTTP_VERSION_STR[] = "HTTP/1.0" [static]

Definition at line 57 of file lliohttpserver.cpp.

Referenced by LLHTTPResponder::markBad(), LLHTTPResponder::process_impl(), and LLHTTPResponseHeader::process_impl().

LLIOHTTPServer::timing_callback_t sTimingCallback = NULL [static]

Definition at line 65 of file lliohttpserver.cpp.

Referenced by LLIOHTTPServer::setTimingCallback().

void* sTimingCallbackData = NULL [static]

Definition at line 66 of file lliohttpserver.cpp.

Referenced by LLIOHTTPServer::setTimingCallback().


Generated on Thu Jul 1 06:10:30 2010 for Second Life Viewer by  doxygen 1.4.7