33 class HTTPRequestImpl;
60 HTTPRequest(
const std::string& method,
const std::string& uri,
int versionMajor,
int versionMinor);
65 HTTPRequest(
const std::string& method,
const std::string& uri,
int versionMajor,
int versionMinor,
const HTTPHeaders& headers);
137 std::shared_ptr<HTTPRequestImpl> getImpl()
const;
142 std::shared_ptr<HTTPRequestImpl> pImpl;
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
const HTTPHeaders & getHeaders() const
Returns HTTP headers.
~HTTPRequest()
Destructor.
HTTPRequest(const HTTPRequest &obj)
Copy constructor.
HTTPRequest(const std::string &method, const std::string &uri, int versionMajor, int versionMinor, const HTTPHeaders &headers)
Creates a HTTP request with the given method, URI (Uniform Resource Identifier), version and headers.
HTTPRequest & operator=(const HTTPRequest &obj)
Copy assignment operator.
const std::string & getVersion() const
Returns the HTTP version for incoming request (example "HTTP/1.1").
const std::string & getContentType() const
Returns the value of the Content-Type header field.
HTTPRequest(const std::string &method, const std::string &uri, int versionMajor, int versionMinor)
Creates a HTTP request with the given method, URI (Uniform Resource Identifier) and version.
HTTPRequest()
Creates a GET / HTTP/1.1 HTTP request.
int getVersionMinor() const
HTTP uses a "major.minor" numbering scheme to indicate versions of the protocol.
int getVersionMajor() const
HTTP uses a "major.minor" numbering scheme to indicate versions of the protocol.
int64_t getContentLength() const
Returns the value of the Content-Length header field.
const Uri & getURI() const
Returns the URI (Uniform Resource Identifier) being requested.
const std::string & getMethod() const
Returns the request method ("GET", "HEAD", "POST", "PUT", "DELETE", "CONNECT", "OPTIONS",...
const std::string & getHost() const
Returns the value of the Host header field.
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
#define RENDERSERVICE_API