CirceBodyHandler

org.mbari.vars.migration.etc.circe.CirceBodyHandler
See theCirceBodyHandler companion object
class CirceBodyHandler[T] extends BodyHandler[Either[Throwable, T]]

A CirceBodyHandler is a HttpResponse.BodyHandler that uses Circe to decode the response body to an Either where the left side is a Throwable and the right side is the desired type T.

Type parameters

T

The type to decode the response body to.

Attributes

Companion
object
Graph
Supertypes
trait BodyHandler[Either[Throwable, T]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def apply(responseInfo: ResponseInfo): BodySubscriber[Either[Throwable, T]]

Attributes

Definition Classes
BodyHandler