AWS SDK for C++
1.8.156
AWS SDK for C++
|
#include <HttpRequest.h>
Abstract class for representing an HttpRequest.
Definition at line 65 of file HttpRequest.h.
|
inline |
Initializes an HttpRequest object with uri and http method.
Definition at line 71 of file HttpRequest.h.
|
inlinevirtual |
Definition at line 75 of file HttpRequest.h.
|
pure virtual |
Adds a content body stream to the request. This stream will be used to send the body to the endpoint.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Adds a query string parameter to the underlying URI by key and value.
Definition at line 171 of file HttpRequest.h.
|
inlinevirtual |
Add a request metric
key,HttpClientMetricsKey | defined in HttpClientMetrics.cpp |
value,the | corresponding value of this key measured during http request. |
Definition at line 505 of file HttpRequest.h.
|
inline |
Normalizes the URI for use with signing.
Definition at line 157 of file HttpRequest.h.
|
pure virtual |
Deletes a header from the request by name.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Gets accept header.
Definition at line 202 of file HttpRequest.h.
|
inline |
Gets Accept CharSet header.
Definition at line 221 of file HttpRequest.h.
|
inline |
Gets accept encoding header.
Definition at line 240 of file HttpRequest.h.
|
inline |
Gets Api version header x-amz-api-version.
Definition at line 434 of file HttpRequest.h.
|
inline |
Gets authorization encoding header.
Definition at line 259 of file HttpRequest.h.
|
inline |
Gets aws authorization header.
Definition at line 278 of file HttpRequest.h.
|
inline |
Gets session token header.
Definition at line 297 of file HttpRequest.h.
|
pure virtual |
Gets the content body stream that will be used for this request.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Gets content-length header.
Definition at line 335 of file HttpRequest.h.
|
inline |
Gets content-type header.
Definition at line 354 of file HttpRequest.h.
|
inline |
Definition at line 480 of file HttpRequest.h.
|
inline |
Gets cookie header.
Definition at line 316 of file HttpRequest.h.
|
inline |
Gets the closure for receiving events when data is received from the server.
Definition at line 474 of file HttpRequest.h.
|
inline |
Gets the closure for receiving events when data is sent to the server.
Definition at line 478 of file HttpRequest.h.
|
inline |
Gets date header.
Definition at line 183 of file HttpRequest.h.
|
pure virtual |
Get All headers for this request.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
pure virtual |
Get the value for a Header based on its name. (in default StandardHttpRequest implementation, an empty string will be returned if headerName doesn't exist)
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Get the http method for this request.
Definition at line 143 of file HttpRequest.h.
|
inline |
Gets the query string from the URI on this request.
Definition at line 150 of file HttpRequest.h.
|
inline |
Gets the query string for the underlying URI as a key value mapping
Definition at line 164 of file HttpRequest.h.
|
inlinevirtual |
Gets the request metrics
Definition at line 515 of file HttpRequest.h.
|
inline |
Returns the IP address of the remote host the request was made out to. This value is populated after the request is made and when the HTTP client supports retrieving such information. If the information is not available, an empty string is returned.
Definition at line 523 of file HttpRequest.h.
|
pure virtual |
Gets the factory for creating the stream that will be used in the http response.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Gets the AWS Access Key if this HttpRequest is signed with Aws Access Key
Definition at line 485 of file HttpRequest.h.
|
inline |
Gets the signing region if this request is signed.
Definition at line 494 of file HttpRequest.h.
|
pure virtual |
Get size in bytes of the request when as it will be going accross the wire.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Gets transfer-encoding header.
Definition at line 373 of file HttpRequest.h.
|
inline |
Gets underlying URI object with mutation access.
Definition at line 124 of file HttpRequest.h.
|
inline |
Gets the underlying URI object.
Definition at line 131 of file HttpRequest.h.
|
inline |
Converts the URI into a string and returns it. If includeQueryString is set to true, the query string will be included in the returned value.
Definition at line 136 of file HttpRequest.h.
|
inline |
Gets User Agent header.
Definition at line 392 of file HttpRequest.h.
|
inline |
Gets via header header.
Definition at line 411 of file HttpRequest.h.
|
inline |
Definition at line 195 of file HttpRequest.h.
|
inline |
Definition at line 214 of file HttpRequest.h.
|
inline |
Definition at line 233 of file HttpRequest.h.
|
inline |
Has Api version header x-amz-api-version
Definition at line 426 of file HttpRequest.h.
|
inline |
Definition at line 252 of file HttpRequest.h.
|
inline |
Definition at line 271 of file HttpRequest.h.
|
inline |
Definition at line 290 of file HttpRequest.h.
|
inline |
Definition at line 328 of file HttpRequest.h.
|
inline |
Definition at line 347 of file HttpRequest.h.
|
inline |
Definition at line 309 of file HttpRequest.h.
|
inline |
Definition at line 176 of file HttpRequest.h.
|
pure virtual |
Returns true if a header exists in the request with name
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Definition at line 366 of file HttpRequest.h.
|
inline |
Definition at line 385 of file HttpRequest.h.
|
inline |
Definition at line 404 of file HttpRequest.h.
|
inline |
Definition at line 526 of file HttpRequest.h.
|
inline |
Gets accept header.
Definition at line 209 of file HttpRequest.h.
|
inline |
Sets Accept CharSet header.
Definition at line 228 of file HttpRequest.h.
|
inline |
Sets accept encoding header.
Definition at line 247 of file HttpRequest.h.
|
inline |
Sets Api version header x-amz-api-version.
Definition at line 441 of file HttpRequest.h.
|
inline |
Set authorization header.
Definition at line 266 of file HttpRequest.h.
|
inline |
Sets aws authorization header.
Definition at line 285 of file HttpRequest.h.
|
inline |
Sets session token header.
Definition at line 304 of file HttpRequest.h.
|
inline |
Sets content-length header.
Definition at line 342 of file HttpRequest.h.
|
inline |
sets content-type header.
Definition at line 361 of file HttpRequest.h.
|
inline |
Sets the closure for handling whether or not to cancel a request.
Definition at line 465 of file HttpRequest.h.
|
inline |
Sets the closure for handling whether or not to cancel a request.
Definition at line 469 of file HttpRequest.h.
|
inline |
Sets cookie header.
Definition at line 323 of file HttpRequest.h.
|
inline |
Sets the closure for receiving events when data is received from the server.
Definition at line 449 of file HttpRequest.h.
|
inline |
Sets the closure for receiving events when data is received from the server.
Definition at line 453 of file HttpRequest.h.
|
inline |
Sets the closure for receiving events when data is sent to the server.
Definition at line 457 of file HttpRequest.h.
|
inline |
Sets the closure for receiving events when data is sent to the server.
Definition at line 461 of file HttpRequest.h.
|
inline |
Gets date header.
Definition at line 190 of file HttpRequest.h.
|
inline |
Definition at line 527 of file HttpRequest.h.
|
pure virtual |
Creates a shared_ptr of HttpRequest with uri, method, and closure for how to create a response stream.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
pure virtual |
Add a header pair
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inlinevirtual |
Sets the request metrics
Definition at line 510 of file HttpRequest.h.
|
inline |
Definition at line 524 of file HttpRequest.h.
|
pure virtual |
Sets the factory for creating the stream that will be used in the http response.
Implemented in Aws::Http::Standard::StandardHttpRequest.
|
inline |
Sets the Aws Access Key if this HttpRequest is signed with Aws Access Key
Definition at line 489 of file HttpRequest.h.
|
inline |
Sets the signing region if this request is signed.
Definition at line 498 of file HttpRequest.h.
|
inline |
Sets transfer-encoding header.
Definition at line 380 of file HttpRequest.h.
|
inline |
Sets User Agent header.
Definition at line 399 of file HttpRequest.h.
|
inline |
Sets via header.
Definition at line 418 of file HttpRequest.h.