Web framework C++  2.0.0
Simple web framework on c++ designed to easily create web pages, etc
Public Member Functions | List of all members
CookieEntityHttp Class Reference

Default CookieEntity with http only feature. More...

#include <cookie_entity_http.h>

Inheritance diagram for CookieEntityHttp:
Inheritance graph
Collaboration diagram for CookieEntityHttp:
Collaboration graph

Public Member Functions

 CookieEntityHttp (const char *value)
 
std::string toString () override
 
void setValue (std::string value) override
 
std::unique_ptr< Entityclone () override
 
- Public Member Functions inherited from Entity
virtual ~Entity ()=default
 

Detailed Description

Default CookieEntity with http only feature.

Concrete prototype of cookie entity with all default fields and http only property

Constructor & Destructor Documentation

CookieEntityHttp::CookieEntityHttp ( const char *  value)
explicit

Create default cookie entity with http only feature

Parameters
valueserialized value

Member Function Documentation

std::unique_ptr<Entity> CookieEntityHttp::clone ( )
overridevirtual

Clone default cookie entity with http only feature

Returns
new CookieEntityHttp object

Implements Entity.

void CookieEntityHttp::setValue ( std::string  value)
overridevirtual

Set value of cookie

Parameters
valueserialized data

Implements Entity.

std::string CookieEntityHttp::toString ( )
overridevirtual

Serialize this cookie to string

Returns
serialized cookie value

Implements Entity.


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