WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::Sessions Class Reference

#include <sessions.h>

Inheritance diagram for webdriver::Sessions:
Collaboration diagram for webdriver::Sessions:

Public Member Functions

 Sessions (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters)
 
virtual ~Sessions ()
 
virtual bool DoesGet () const OVERRIDE
 
virtual void ExecuteGet (Response *const response) OVERRIDE
 
- Public Member Functions inherited from webdriver::Command
 Command (const std::vector< std::string > &path_segments, const DictionaryValue *const parameters)
 
 Command (const Command &other)
 
virtual ~Command ()
 
virtual bool DoesDelete () const
 
virtual bool DoesPost () const
 
virtual bool Init (Response *const response)
 
virtual void Finish (Response *const response)
 
virtual void ExecuteDelete (Response *const response)
 
virtual void ExecutePost (Response *const response)
 

Additional Inherited Members

- Protected Member Functions inherited from webdriver::Command
std::string GetPathVariable (const size_t i) const
 
bool HasParameter (const std::string &key) const
 
bool IsNullParameter (const std::string &key) const
 
bool GetStringParameter (const std::string &key, string16 *out) const
 
bool GetStringParameter (const std::string &key, std::string *out) const
 
bool GetStringASCIIParameter (const std::string &key, std::string *out) const
 
bool GetBooleanParameter (const std::string &key, bool *out) const
 
bool GetIntegerParameter (const std::string &key, int *out) const
 
bool GetDoubleParameter (const std::string &key, double *out) const
 
bool GetDictionaryParameter (const std::string &key, const DictionaryValue **out) const
 
bool GetListParameter (const std::string &key, const ListValue **out) const
 
- Protected Attributes inherited from webdriver::Command
const std::vector< std::string > path_segments_
 
yasper::ptr< const
DictionaryValue > 
parameters_
 

Constructor & Destructor Documentation

webdriver::Sessions::Sessions ( const std::vector< std::string > &  path_segments,
const DictionaryValue *const  parameters 
)
virtual webdriver::Sessions::~Sessions ( )
virtual

Member Function Documentation

virtual bool webdriver::Sessions::DoesGet ( ) const
virtual

Indicates if this command URL responds to GET method.

Reimplemented from webdriver::Command.

virtual void webdriver::Sessions::ExecuteGet ( Response *const  response)
virtual

Executes the corresponding variant of this command URL. Always called after Init() and called from the Execute function. Any failure is handled as a return code found in Response.

Parameters
responsepointer to response object

Reimplemented from webdriver::Command.


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