io.quartz.http2.model.Request
sealed case class Request(connId: Long, streamId: Int, headers: Headers, stream: Stream[IO, Byte], secure: Boolean, sniServerNames: Option[Array[String]], trailingHeaders: Deferred[IO, Headers]) Represents an HTTP request.
Attributes
- headers
the request headers
- stream
a stream of request body bytes
- trailingHeaders
deferred trailing headers
- Graph
- Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Members list
Concise view
Value members
Returns the request body as a byte array.
Returns the request body as a byte array.
Attributes
- Returns:
the request body as a byte array
Returns the content length of the request body as a string.
Returns the content length of the request body as a string.
Attributes
- Returns:
the content length of the request body as a string
Returns the content type of the request body.
Returns the content type of the request body.
Attributes
- Returns:
the content type of the request body
Adds the specified headers to the request headers.
Adds the specified headers to the request headers.
Attributes
- hdr
the headers to add
- Returns:
a new request with the additional headers
Adds the specified header pair to the request headers.
Adds the specified header pair to the request headers.
Attributes
- pair
a tuple containing the header name and value
- Returns:
a new request with the additional header pair
Returns true
if the content type of the request body is JSON.
Returns true
if the content type of the request body is JSON.
Attributes
- Returns:
true
if the content type of the request body is JSON
Returns the HTTP method used in the request.
Returns the HTTP method used in the request.
Attributes
- Returns:
the HTTP method used in the request
Returns the path component of the request URI.
Returns the path component of the request URI.
Attributes
- Returns:
the path component of the request URI
Returns the transfer encoding used in the request.
Returns the transfer encoding used in the request.
Attributes
- Returns:
the transfer encoding used in the request
Returns the URI of the request.
Returns the URI of the request.
Attributes
- Returns:
the URI of the request
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product