ResponseHandler

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def handle(response: HttpResponse): Either[ElasticError, U]

Accepts a HttpResponse and returns an Either of an ElasticError or a type specific to the request as determined by the instance of this handler.

Accepts a HttpResponse and returns an Either of an ElasticError or a type specific to the request as determined by the instance of this handler.

Concrete methods

def map[V](fn: U => V): ResponseHandler[V]