LuciadCPillar 2024.0.08
|
Builder for the luciad::HttpRequestOptions
class.
More...
#include <luciad/net/http/HttpRequestOptions.h>
Public Member Functions | |
Builder (const Builder &other) | |
~Builder () | |
HttpRequestOptions | build () const |
Returns an luciad::HttpRequestOptions , based on the properties set on this builder. More... | |
Builder & | header (HttpHeader header) |
Sets the given http header to the set of headers for this options. More... | |
Builder & | header (std::string name, std::string value) |
Sets the given name value pair to the set of headers for this options. More... | |
Builder & | queryParameter (std::string name, std::string value) |
Sets the given name value pair to the set of query parameters for this options. More... | |
Builder & | queryParameter (UriQueryParameter queryParameter) |
Sets the given query parameter to the set of query parameters for this options. More... | |
Builder for the luciad::HttpRequestOptions
class.
Instances of HttpRequestOptions::Builder are created by calling luciad::HttpRequestOptions::newBuilder
.
luciad::HttpRequestOptions::Builder::~Builder | ( | ) |
luciad::HttpRequestOptions::Builder::Builder | ( | const Builder & | other | ) |
HttpRequestOptions luciad::HttpRequestOptions::Builder::build | ( | ) | const |
Returns an luciad::HttpRequestOptions
, based on the properties set on this builder.
luciad::HttpRequestOptions
, based on the properties set on this builder. Builder & luciad::HttpRequestOptions::Builder::header | ( | HttpHeader | header | ) |
Sets the given http header to the set of headers for this options.
header | an luciad::HttpHeader . |
Builder & luciad::HttpRequestOptions::Builder::header | ( | std::string | name, |
std::string | value | ||
) |
Sets the given name value pair to the set of headers for this options.
name | header name |
value | header value |
Builder & luciad::HttpRequestOptions::Builder::queryParameter | ( | std::string | name, |
std::string | value | ||
) |
Sets the given name value pair to the set of query parameters for this options.
name | query parameter name. |
value | query parameter value. |
Builder & luciad::HttpRequestOptions::Builder::queryParameter | ( | UriQueryParameter | queryParameter | ) |
Sets the given query parameter to the set of query parameters for this options.
queryParameter | an luciad::UriQueryParameter . |