trait HttpMessage[Raw] extends HttpMessageBase[Raw]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpMessage
- HttpMessageBase
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
copyWith(newMessage: Message): Raw
- Attributes
- protected
-
abstract
def
copyWith(newHeader: HttpMultiMap): Raw
- Attributes
- protected
- abstract def header: HttpMultiMap
- abstract def message: Message
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 accept: Seq[String]
- def acceptsJson: Boolean
- def acceptsMsgPack: Boolean
- def addHeader(key: String, value: String): Raw
- def allow: Option[String]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authorization: Option[String]
- def cacheControl: Option[String]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def contentBytes: Array[Byte]
- def contentEncoding: Option[String]
- def contentLength: Option[Long]
- def contentString: String
- def contentType: Option[String]
- def date: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def expires: Option[String]
- def getAllHeader(key: String): Seq[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getHeader(key: String): Option[String]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def host: Option[String]
- def isContentTypeJson: Boolean
- def isContentTypeMsgPack: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastModified: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noHost: Raw
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def referer: Option[String]
- def removeHeader(key: String): Raw
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def userAgent: Option[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withAccept(acceptType: String): Raw
- def withAcceptJson: Raw
- def withAcceptMsgPack: Raw
- def withAllow(allow: String): Raw
- def withAuthorization(authorization: String): Raw
- def withCacheControl(cacheControl: String): Raw
- def withContent(content: Array[Byte]): Raw
- def withContent(content: String): Raw
- def withContent(content: Message): Raw
- def withContentLength(length: Long): Raw
-
macro
def
withContentOf[A](a: A, codecFactory: MessageCodecFactory): Raw
Set the content body using a given object and codec factory.
Set the content body using a given object and codec factory. Encoding can be JSON or MsgPack based on Content-Type header.
- Definition Classes
- HttpMessageBase
-
macro
def
withContentOf[A](a: A): Raw
Set the content body using a given object.
Set the content body using a given object. Encoding can be JSON or MsgPack based on Content-Type header.
- Definition Classes
- HttpMessageBase
- def withContentType(contentType: String): Raw
- def withContentTypeJson: Raw
- def withContentTypeMsgPack: Raw
- def withDate(date: Instant): Raw
- def withDate(date: String): Raw
- def withExpires(expires: String): Raw
- def withHeader(f: (HttpMultiMap) ⇒ HttpMultiMap): Raw
- def withHeader(newHeader: HttpMultiMap): Raw
- def withHeader(key: String, value: String): Raw
- def withHost(host: String): Raw
- def withJson(json: Array[Byte]): Raw
- def withJson(json: String): Raw
-
macro
def
withJsonOf[A](a: A, codecFactory: MessageCodecFactory): Raw
- Definition Classes
- HttpMessageBase
-
macro
def
withJsonOf[A](a: A): Raw
- Definition Classes
- HttpMessageBase
- def withLastModified(lastModified: String): Raw
- def withMsgPack(msgPack: MsgPack): Raw
-
macro
def
withMsgPackOf[A](a: A, codecFactory: MessageCodecFactory): Raw
- Definition Classes
- HttpMessageBase
-
macro
def
withMsgPackOf[A](a: A): Raw
- Definition Classes
- HttpMessageBase
- def withReferer(referer: String): Raw
- def withUserAgent(userAgent: String): Raw
- def withXForwardedFor(xForwardedFor: String): Raw
- def withXForwardedProto(xForwardedProto: String): Raw
- def xForwardedFor: Option[String]
- def xForwardedProto: Option[String]
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated