final class ResponseHeader extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResponseHeader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ResponseHeader(status: Int, _headers: Map[String, String] = Map.empty, reasonPhrase: Option[String] = None)
- status
the response status, e.g. 200
- _headers
the HTTP headers
- reasonPhrase
the human-readable description of status, e.g. "Ok"; if None, the default phrase for the status will be used
Value Members
- def asJava: mvc.ResponseHeader
- def copy(status: Int = status, headers: Map[String, String] = headers, reasonPhrase: Option[String] = reasonPhrase): ResponseHeader
- def equals(o: Any): Boolean
- Definition Classes
- ResponseHeader → AnyRef → Any
- def hashCode(): Int
- Definition Classes
- ResponseHeader → AnyRef → Any
- val headers: Map[String, String]
- val reasonPhrase: Option[String]
- val status: Int
- def toString(): String
- Definition Classes
- ResponseHeader → AnyRef → Any
A simple HTTP response header, used for standard responses.