sealed trait HttpMessage extends AnyRef
Defines HTTP message.
- Alphabetic
- By Inheritance
- HttpMessage
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def attributes: Map[String, Any]
Gets message attributes.
Gets message attributes.
- Note
Attributes are arbitrary values associated with message and are not part of transmitted message.
- abstract def body: Entity
Gets message body.
- abstract def headers: Seq[Header]
Gets message headers.
- abstract def startLine: LineType
Gets message start line.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def as[T](implicit parser: BodyParser[T]): T
Gets message body as instance of
T
.Gets message body as instance of
T
.- parser
body parser
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAttribute[T](name: String): Option[T]
Gets attribute value with given name.
Gets attribute value with given name.
- name
attribute name
- def getAttributeOrElse[T](name: String, default: => T): T
Gets attribute value with given name, or returns default if attribute not present.
Gets attribute value with given name, or returns default if attribute not present.
- name
attribute name
- default
default value
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHeader(name: String): Option[Header]
Gets first header with given name.
- def getHeaderOrElse(name: String, default: => Header): Header
Gets first header with given name, or returns default if header not present.
- def getHeaderValue(name: String): Option[String]
Gets first header value with given name.
- def getHeaderValueOrElse(name: String, default: => String): String
Gets first header value with given name, or returns default if header not present.
- def getHeaderValues(name: String): Seq[String]
Gets header values with given name.
- def getHeaders(name: String): Seq[Header]
Gets headers with given name.
- def hasHeader(name: String): Boolean
Tests for header with given name.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def version: HttpVersion
Gets HTTP version.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Provided herein is API documentation for Scamper, the HTTP library for Scala.