HttpRequest

cc.otavia.http.server.HttpRequest
See theHttpRequest companion object
abstract class HttpRequest[C, R <: Reply] extends Ask[R]

Attributes

Companion
object
Graph
Supertypes
trait Ask[R]
trait Call
trait Message
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addHeader(key: HttpHeaderKey, value: HttpHeaderValue): this.type
def content: Option[C]
def params: Map[String, String]
def path: String
def pathVariables: Map[String, String]
def setContent(content: Any): Unit
def setHttpHeaders(headers: Map[HttpHeaderKey, HttpHeaderValue]): Unit
def setHttpVersion(version: HttpVersion): Unit
def setMediaType(mediaType: MediaType): Unit
def setMethod(method: HttpMethod): Unit
def setParam(params: Map[String, String]): Unit
def setPath(path: String): Unit
def setPathVariables(variables: Map[String, String]): Unit
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