reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::RequestLine Class Reference

Represents the "Request-Line" element in the RFC 3261 grammar. More...

#include <RequestLine.hxx>

Inheritance diagram for resip::RequestLine:
[legend]

Public Member Functions

 RequestLine ()
 
 RequestLine (MethodTypes method, const Data &sipVersion=Symbols::DefaultSipVersion)
 
 RequestLine (const HeaderFieldValue &hfv)
 
 RequestLine (const char *buf, int len)
 
 RequestLine (const RequestLine &)
 
RequestLine & operator= (const RequestLine &)
 
virtual ~RequestLine ()
 
const Uri & uri () const
 
Uri & uri ()
 
MethodTypes getMethod () const
 
MethodTypes & method ()
 
MethodTypes method () const
 
Data & unknownMethodName ()
 
const Data & unknownMethodName () const
 
const Data & getSipVersion () const
 
virtual void parse (ParseBuffer &pb)
 
virtual StartLine * clone () const
 
virtual StartLine * clone (void *location) const
 
virtual EncodeStream & encodeParsed (EncodeStream &str) const
 
virtual const Data & errorContext () const
 
- Public Member Functions inherited from resip::StartLine
 StartLine ()
 
 StartLine (const HeaderFieldValue &headerFieldValue)
 
 StartLine (const char *buf, int length)
 
virtual ~StartLine ()
 
- Public Member Functions inherited from resip::LazyParser
 LazyParser (const HeaderFieldValue &headerFieldValue)
 
 LazyParser (const char *buf, int length)
 
 LazyParser (const HeaderFieldValue &headerFieldValue, HeaderFieldValue::CopyPaddingEnum e)
 
 LazyParser (const LazyParser &rhs)
 
 LazyParser (const LazyParser &rhs, HeaderFieldValue::CopyPaddingEnum e)
 
LazyParser & operator= (const LazyParser &rhs)
 
virtual ~LazyParser ()
 
EncodeStream & encode (EncodeStream &str) const
 Encodes this element to a stream, in the fashion it should be represented on the wire.
 
bool isParsed () const
 Returns true iff a parse has been attempted.
 
HeaderFieldValue & getHeaderField ()
 
void checkParsed () const
 
void checkParsed ()
 
void doParse () const
 
void markDirty () const
 
bool isWellFormed () const
 Returns true iff this element was parsed successfully, according to the implementation of parse().
 

Additional Inherited Members

- Protected Member Functions inherited from resip::LazyParser
 LazyParser ()
 
void clear ()
 

Detailed Description

Represents the "Request-Line" element in the RFC 3261 grammar.

Definition at line 17 of file RequestLine.hxx.

Constructor & Destructor Documentation

◆ RequestLine() [1/5]

RequestLine::RequestLine ( )

Definition at line 21 of file RequestLine.cxx.

◆ RequestLine() [2/5]

RequestLine::RequestLine ( MethodTypes  method,
const Data &  sipVersion = Symbols::DefaultSipVersion 
)

Definition at line 28 of file RequestLine.cxx.

◆ RequestLine() [3/5]

RequestLine::RequestLine ( const HeaderFieldValue &  hfv)

Definition at line 35 of file RequestLine.cxx.

◆ RequestLine() [4/5]

RequestLine::RequestLine ( const char *  buf,
int  len 
)

Definition at line 42 of file RequestLine.cxx.

◆ RequestLine() [5/5]

RequestLine::RequestLine ( const RequestLine &  rhs)

Definition at line 49 of file RequestLine.cxx.

◆ ~RequestLine()

RequestLine::~RequestLine ( )
virtual

Definition at line 71 of file RequestLine.cxx.

Member Function Documentation

◆ clone() [1/2]

StartLine * RequestLine::clone ( ) const
virtual

Implements resip::StartLine.

Definition at line 75 of file RequestLine.cxx.

◆ clone() [2/2]

StartLine * RequestLine::clone ( void *  location) const
virtual

Implements resip::StartLine.

Definition at line 81 of file RequestLine.cxx.

◆ encodeParsed()

EncodeStream & RequestLine::encodeParsed ( EncodeStream &  str) const
virtual

Implements resip::StartLine.

Definition at line 159 of file RequestLine.cxx.

◆ errorContext()

const Data & RequestLine::errorContext ( ) const
virtual

Implements resip::StartLine.

Definition at line 168 of file RequestLine.cxx.

◆ getMethod()

MethodTypes RequestLine::getMethod ( ) const

Definition at line 101 of file RequestLine.cxx.

◆ getSipVersion()

const Data & RequestLine::getSipVersion ( ) const

Definition at line 136 of file RequestLine.cxx.

◆ method() [1/2]

MethodTypes & RequestLine::method ( )

Definition at line 108 of file RequestLine.cxx.

◆ method() [2/2]

MethodTypes RequestLine::method ( ) const

Definition at line 115 of file RequestLine.cxx.

◆ operator=()

RequestLine & RequestLine::operator= ( const RequestLine &  rhs)

Definition at line 58 of file RequestLine.cxx.

◆ parse()

void RequestLine::parse ( ParseBuffer &  pb)
virtual

Implements resip::StartLine.

Definition at line 143 of file RequestLine.cxx.

◆ unknownMethodName() [1/2]

Data & RequestLine::unknownMethodName ( )

Definition at line 122 of file RequestLine.cxx.

◆ unknownMethodName() [2/2]

const Data & RequestLine::unknownMethodName ( ) const

Definition at line 129 of file RequestLine.cxx.

◆ uri() [1/2]

Uri & RequestLine::uri ( )

Definition at line 94 of file RequestLine.cxx.

◆ uri() [2/2]

const Uri & RequestLine::uri ( ) const

Definition at line 87 of file RequestLine.cxx.


The documentation for this class was generated from the following files: