org.http4s.blaze.http

Members list

Type members

Classlikes

trait BodyReader

Representation of a HTTP message body

Representation of a HTTP message body

Attributes

Note

The release of resources must be idempotent, meaning that discard() may be called after complete consumption of the body and it may also be called numerous times.

Companion
object
Source
BodyReader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Proxy
object BodyReader

Attributes

Companion
trait
Source
BodyReader.scala
Supertypes
class Object
trait Matchable
class Any
Self type
BodyReader.type
case class ClientResponse(code: Int, status: String, headers: Headers, body: BodyReader)

HTTP response received by the client

HTTP response received by the client

Value parameters

body

BodyReader used to consume the response body.

code

Response code

headers

Response headers

status

Response message. This have no meaning for the HTTP connection, its just for human enjoyment.

Attributes

Companion
object
Source
ClientResponse.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
class
Source
ClientResponse.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object HeaderNames

Incomplete collection of header names, all lower case for easy compatibility with HTTP/2.

Incomplete collection of header names, all lower case for easy compatibility with HTTP/2.

Attributes

Source
HeaderNames.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
HttpClientSession.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Source
HttpClientSession.scala
Supertypes
class Object
trait Matchable
class Any
sealed trait HttpClientSession

Representation of a concrete HTTP session

Representation of a concrete HTTP session

The HttpClientSession represents a true HTTP client session, either HTTP/1.x or HTTP/2.

Attributes

Companion
object
Source
HttpClientSession.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
HttpClientSession.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class HttpRequest(method: Method, url: Url, majorVersion: Int, minorVersion: Int, headers: Headers, body: BodyReader)

Standard HTTP request

Standard HTTP request

Value parameters

body

function which returns the next chunk of the request body. Termination is signaled by an empty ByteBuffer as determined by ByteBuffer.hasRemaining().

headers

request headers

method

HTTP request method

url

request url

Attributes

Source
HttpRequest.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

type Headers = Seq[(String, String)]

Attributes

Source
package.scala
type Method = String

Attributes

Source
package.scala
type Url = String

Attributes

Source
package.scala