ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <Request.hpp>
Public Member Functions | |
Request () | |
Method::Type::_v | getMethod () const |
const std::string & | getURI () const |
void | setMethod (const Method::Type::_v method) |
void | setURI (const std::string &uri) |
std::string | asString () const |
![]() | |
Type::_v | getType () const |
const std::string & | getVersion () const |
Version::_v | getVersionAsEnum () const |
const std::string & | getExtraParameters () const |
void | setVersion (const std::string &version) |
void | setVersion (const Version::_v version) |
comm::Message * | setBody (const xml::Node *node) noexcept(false) |
Header * | createHeader (const Header::Type::_v type) noexcept(false) |
Header * | createHeader (const std::string &name) noexcept(false) |
const Header * | find (const Header::Type::_v type) const |
Header * | find (const Header::Type::_v type) |
Header * | find (const char *name) |
void | clear () |
header_iterator | header_begin () |
header_iterator | header_end () |
const_header_iterator | header_begin () const |
const_header_iterator | header_end () const |
const DataBlock & | code () noexcept(false) |
![]() | |
Message () | |
virtual | ~Message () |
const DataBlock & | getBody () const |
Message * | setBody (const DataBlock &body) noexcept(false) |
Message * | setBody (const char *buffer, const int size) noexcept(false) |
void | clearBody () |
![]() | |
DataBlock (const bool deepCopy=false) | |
DataBlock (const char *buffer, const int size, const bool deepCopy=false) noexcept(false) | |
DataBlock (const DataBlock &other) noexcept(false) | |
virtual | ~DataBlock () |
int | getMaxSize () const |
int | getSize () const |
const char * | getData () const |
bool | isEmpty () const |
bool | deepCopy () const |
void | setSize (const int size) noexcept(false) |
DataBlock & | operator+= (const char c) noexcept(false) |
DataBlock & | operator+= (const DataBlock &right) noexcept(false) |
DataBlock & | operator+= (const std::string &str) noexcept(false) |
const char | operator[] (const int pos) const noexcept(false) |
char & | operator[] (const int pos) noexcept(false) |
void | append (const char *data, const int len) noexcept(false) |
void | append (const DataBlock &other) noexcept(false) |
void | assign (const DataBlock &right) noexcept(false) |
void | assign (const char *buffer, const int size) noexcept(false) |
DataBlock & | operator= (const DataBlock &right) noexcept(false) |
DataBlock & | operator= (const char c) noexcept(false) |
DataBlock & | operator= (const std::string &str) noexcept(false) |
void | allocate (const int nbytes) noexcept(false) |
void | clear () noexcept(false) |
void | remove (const int pos, const int nbytes) noexcept(false) |
void | remove (const int nbytes) noexcept(false) |
std::string | asString (const int characterByLine=24) const |
Additional Inherited Members | |
![]() | |
typedef Recycler< Header >::iterator | header_iterator |
typedef Recycler< Header >::const_iterator | const_header_iterator |
![]() | |
static Header * | header (header_iterator &ii) |
static const Header * | header (const_header_iterator &ii) |
![]() | |
Message (const Type::_v type) | |
![]() | |
Message (const StatusCodeBuffer::_v statusCodeBuffer) | |
Message (DataBlock &codeBuffer) | |
![]() | |
void | initialize (const char *buffer, const int size) noexcept(false) |
void | setBuffer (const char *buffer) |
void | setMaxSize (const int maxSize) |
![]() | |
DataBlock * | a_codeBuffer |
Clase que modela las peticiones HTTP segun la RFC 2616.
|
inlineexplicit |
Constructor.
|
virtual |
Devuelve una cadena con toda la informacion relevante de este objeto.
Implements anna::http::Message.
|
inline |
|
inline |
|
inline |
|
inline |