Package software.amazon.awssdk.crt.http
Class Http2Request
- java.lang.Object
-
- software.amazon.awssdk.crt.http.HttpRequestBase
-
- software.amazon.awssdk.crt.http.Http2Request
-
public class Http2Request extends HttpRequestBase
Represents a single Client Request to be sent on a HTTP connection
-
-
Constructor Summary
Constructors Constructor Description Http2Request()
An empty HTTP/2 Request.Http2Request(HttpHeader[] headers, HttpRequestBodyStream bodyStream)
An empty HTTP/2 Request with headers and body stream.
-
Method Summary
-
Methods inherited from class software.amazon.awssdk.crt.http.HttpRequestBase
addHeader, addHeader, addHeaders, getBodyStream, getHeaders, getHeadersAsArray
-
-
-
-
Constructor Detail
-
Http2Request
public Http2Request()
An empty HTTP/2 Request.
-
Http2Request
public Http2Request(HttpHeader[] headers, HttpRequestBodyStream bodyStream)
An empty HTTP/2 Request with headers and body stream.- Parameters:
headers
- set of http request headers to include, note: pseudo headers should be set to make a good HTTP/2 request.bodyStream
- (optional) interface to an object that will stream out the request body
-
-