Builder

cc.otavia.http.server.HttpResponse.Builder
class Builder[C <: AnyRef]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addHeader(key: HttpHeaderKey, value: HttpHeaderValue): this.type
def addHeaders(headers: (HttpHeaderKey, HttpHeaderValue)*): this.type
def build(): HttpResponse[C]
def setContent(content: C): this.type
def setHeaders(headers: Map[HttpHeaderKey, HttpHeaderValue]): this.type
def setHeaders(headers: Map[HttpHeaderKey, HttpHeaderValue]): this.type