Response

enterprise.Response
See theResponse companion object
final case class Response(status: Status, body: Body, headers: Headers)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def modBody(f: Body => Body): Response
def raise: Computation[Nothing, Fx]
def withBody(body: Body): Response
def withBody(body: Body, mediaType: MediaType): Response
def withHeaders(headers: Headers): Response
def withRawJson(text: String): Response
def withStatus(status: Status): Response
def withText(text: String): Response

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product