HttpResponseAdapter

A type class to bridge the original response type and HttpResponse

class Object
trait Matchable
class Any

Value members

Abstract methods

def contentTypeOf(resp: Resp): Option[String]
def headerOf(resp: Resp): HttpMultiMap
def messageOf(resp: Resp): Message
def statusCodeOf(resp: Resp): Int
def wrap(resp: Resp): HttpResponse[Resp]

Concrete methods

def contentBytesOf(resp: Resp): Array[Byte]
def contentStringOf(resp: Resp): String
def httpResponseOf(resp: Resp): Response
def statusOf(resp: Resp): HttpStatus