Request

wvlet.airframe.http.HttpMessage$.Request
See theRequest companion object
case class Request(method: String, uri: String, header: HttpMultiMap, message: Message, remoteAddress: Option[ServerAddress]) extends HttpMessage[Request]

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 path: String

URI without query string (e.g., /v1/info)

URI without query string (e.g., /v1/info)

Attributes

Extract the query string parameters as HttpMultiMap

Extract the query string parameters as HttpMultiMap

Attributes

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 withMethod(method: String): Request
def withRemoteAddress(remoteAddress: ServerAddress): Request
def withUri(uri: String): Request

Inherited methods

def accept: Seq[String]
Implicitly added by HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
def accept: Seq[String]

Attributes

Inherited from:
HttpMessage
def acceptsJson: Boolean
Implicitly added by HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
def acceptsJson: Boolean

Attributes

Inherited from:
HttpMessage
def acceptsMsgPack: Boolean
Implicitly added by HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
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 HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
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 HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
def contentString: String

Attributes

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

Attributes

Inherited from:
HttpRequest
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 HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
def host: Option[String]

Attributes

Inherited from:
HttpMessage
def isContentTypeJson: Boolean

Attributes

Inherited from:
HttpMessage
def isContentTypeMsgPack: Boolean

Attributes

Inherited from:
HttpMessage
def lastModified: Option[String]

Attributes

Inherited from:
HttpMessage
Implicitly added by HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
def noHost: Raw

Attributes

Inherited from:
HttpMessage
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 HttpMessageRequestWrapper

Attributes

Inherited from:
HttpRequest
def userAgent: Option[String]

Attributes

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

Attributes

Inherited from:
HttpMessage
def withAcceptJson: Raw

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

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

val raw: Request
Implicitly added by HttpMessageRequestWrapper