Response

wvlet.airframe.http.HttpMessage$.Response
See theResponse companion object
case class Response(status: HttpStatus, header: HttpMultiMap, message: Message) extends HttpMessage[Response]

Attributes

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

Members list

Concise view

Value members

Concrete methods

def statusCode: Int
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def withStatus(newStatus: HttpStatus): Response

Inherited methods

def accept: Seq[String]

Attributes

Inherited from:
HttpMessage
def acceptsJson: Boolean

Attributes

Inherited from:
HttpMessage
def acceptsMsgPack: Boolean

Attributes

Inherited from:
HttpMessage
def addHeader(key: String, value: String): Raw

Attributes

Inherited from:
HttpMessage
def allow: Option[String]

Attributes

Inherited from:
HttpMessage
def authorization: Option[String]

Attributes

Inherited from:
HttpMessage
def cacheControl: Option[String]

Attributes

Inherited from:
HttpMessage
def contentBytes: Array[Byte]
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
def contentBytes: Array[Byte]

Attributes

Inherited from:
HttpMessage
def contentEncoding: Option[String]

Attributes

Inherited from:
HttpMessage
def contentLength: Option[Long]

Attributes

Inherited from:
HttpMessage
def contentString: String
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
def contentString: String

Attributes

Inherited from:
HttpMessage
def contentType: Option[String]
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
def contentType: Option[String]

Attributes

Inherited from:
HttpMessage
def date: Option[String]

Attributes

Inherited from:
HttpMessage
def expires: Option[String]

Attributes

Inherited from:
HttpMessage
def getAllHeader(key: String): Seq[String]

Attributes

Inherited from:
HttpMessage
def getHeader(key: String): Option[String]

Attributes

Inherited from:
HttpMessage
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
def host: Option[String]

Attributes

Inherited from:
HttpMessage
def isContentTypeJson: Boolean

Attributes

Inherited from:
HttpMessage

Attributes

Inherited from:
HttpMessage
def lastModified: Option[String]

Attributes

Inherited from:
HttpMessage
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def referer: Option[String]

Attributes

Inherited from:
HttpMessage
def removeHeader(key: String): Raw

Attributes

Inherited from:
HttpMessage
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
Implicitly added by HttpMessageResponseWrapper

Attributes

Inherited from:
HttpResponse
def userAgent: Option[String]

Attributes

Inherited from:
HttpMessage
def withAccept(acceptType: String): Raw

Attributes

Inherited from:
HttpMessage

Attributes

Inherited from:
HttpMessage

Attributes

Inherited from:
HttpMessage
def withAllow(allow: String): Raw

Attributes

Inherited from:
HttpMessage
def withAuthorization(authorization: String): Raw

Attributes

Inherited from:
HttpMessage
def withCacheControl(cacheControl: String): Raw

Attributes

Inherited from:
HttpMessage
def withContent(content: Array[Byte]): Raw

Attributes

Inherited from:
HttpMessage
def withContent(content: String): Raw

Attributes

Inherited from:
HttpMessage
def withContent(content: Message): Raw

Attributes

Inherited from:
HttpMessage
def withContentLength(length: Long): Raw

Attributes

Inherited from:
HttpMessage
inline def withContentOf[A](a: A, codecFactory: MessageCodecFactory): Raw

Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.

Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.

Attributes

Inherited from:
HttpMessageBase
inline def withContentOf[A](a: A): Raw

Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.

Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.

Attributes

Inherited from:
HttpMessageBase
def withContentType(contentType: String): Raw

Attributes

Inherited from:
HttpMessage

Attributes

Inherited from:
HttpMessage

Attributes

Inherited from:
HttpMessage
def withDate(date: Instant): Raw

Attributes

Inherited from:
HttpMessage
def withDate(date: String): Raw

Attributes

Inherited from:
HttpMessage
def withExpires(expires: String): Raw

Attributes

Inherited from:
HttpMessage
def withHeader(newHeader: HttpMultiMap): Raw

Attributes

Inherited from:
HttpMessage
def withHeader(key: String, value: String): Raw

Attributes

Inherited from:
HttpMessage
def withHost(host: String): Raw

Attributes

Inherited from:
HttpMessage
def withJson(json: Array[Byte]): Raw

Attributes

Inherited from:
HttpMessage
def withJson(json: String): Raw

Attributes

Inherited from:
HttpMessage
inline def withJsonOf[A](a: A, codecFactory: MessageCodecFactory): Raw

Attributes

Inherited from:
HttpMessageBase
inline def withJsonOf[A](a: A): Raw

Attributes

Inherited from:
HttpMessageBase
def withLastModified(lastModified: String): Raw

Attributes

Inherited from:
HttpMessage
def withMsgPack(msgPack: MsgPack): Raw

Attributes

Inherited from:
HttpMessage
inline def withMsgPackOf[A](a: A, codecFactory: MessageCodecFactory): Raw

Attributes

Inherited from:
HttpMessageBase
inline def withMsgPackOf[A](a: A): Raw

Attributes

Inherited from:
HttpMessageBase
def withReferer(referer: String): Raw

Attributes

Inherited from:
HttpMessage
def withUserAgent(userAgent: String): Raw

Attributes

Inherited from:
HttpMessage
def withXForwardedFor(xForwardedFor: String): Raw

Attributes

Inherited from:
HttpMessage
def withXForwardedProto(xForwardedProto: String): Raw

Attributes

Inherited from:
HttpMessage
def xForwardedFor: Option[String]

Attributes

Inherited from:
HttpMessage
def xForwardedProto: Option[String]

Attributes

Inherited from:
HttpMessage

Concrete fields

Implicitly added by HttpMessageResponseWrapper