|
10Duke Enterprise C++ Client
|
#include <AbstractURLs.h>
Abstract base implementation of tenduke::net::URLs.
Public Member Functions | |
| ::tenduke::net::URLBuilder | newURL () const override |
| Starts building a new URL. | |
| ::tenduke::net::URLBuilder | newURL (const ::tenduke::net::URL &url) const override |
| Starts building a new URL. | |
| ::tenduke::net::URLBuilder | newURL (const std::string &url) const override |
| Starts building a new URL. | |
Public Member Functions inherited from tenduke::net::AbstractURLCodec | |
| std::string | encodeFormItem (const std::string &value) const override |
Encodes a form item (name or value) for using in application/x-www-form-urlencoded payloads. | |
| std::string | encodeURLPath (const std::string &value) const override |
| Encodes an entire URL path. | |
| std::string | encodeURLQuery (const std::vector< std::pair< std::string, std::string > > &queryParameters) const override |
| Encodes URL query. | |
| std::string | toRequestTarget (const tenduke::net::URL &url) const override |
| std::string | toString (const ::tenduke::net::URL &url) const override |
| Converts the URL to string, URL encoded. | |
Public Member Functions inherited from tenduke::net::URLCodec | |
| virtual std::string | decodeURLComponent (const char *value) const =0 |
| Decodes URL component. | |
| virtual std::string | decodeURLComponent (const char *value, size_t length) const =0 |
| Decodes URL component. | |
| virtual std::string | decodeURLComponent (const std::string &value) const =0 |
| Decodes URL component. | |
| virtual std::string | encodeURLComponent (const std::string &value) const =0 |
| Encodes URL component. | |
| virtual std::string | toRequestTarget (const ::tenduke::net::URL &url) const =0 |
| Returns "request target", i.e., string representation, which is used in an HTTP request message in the request-line (when using the origin-form). | |
Public Member Functions inherited from tenduke::net::URLs | |
| virtual::tenduke::net::URL | parse (const std::string &url) const =0 |
| Parses URL from string. | |
|
overridevirtual |
|
overridevirtual |
Starts building a new URL.
| url | URL to start building from |
Implements tenduke::net::URLs.
|
overridevirtual |
Starts building a new URL.
| url | URL to start building from |
Implements tenduke::net::URLs.