ReleaseableResponse

org.http4s.blaze.http.HttpClientSession.ReleaseableResponse

ClientResponse that can be released

Attributes

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

Members list

Value members

Abstract methods

def release(): Unit

Releases the resources associated with this dispatch

Releases the resources associated with this dispatch

This may entail closing the connection or returning it to a connection pool, depending on the client implementation and the state of the session responsible for dispatching the associated request.

Attributes

Note

release() must be idempotent and never throw an exception, otherwise the session will be corrupted.

Source
HttpClientSession.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product