package dto
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
BytesHttpContent(bytes: Array[Byte], contentType: Option[ContentType]) extends HttpContent with Product with Serializable
HTTP message body representation stored in memory.
HTTP message body representation stored in memory.
- bytes
Binary data.
- contentType
Optional content type from/for HTTP message headers.
-
case class
ContentType(mime: String, charsetName: Option[String]) extends Product with Serializable
Content-Type header representation.
-
case class
FileHttpContent(path: String, contentLength: Long, contentType: Option[ContentType]) extends HttpContent with Product with Serializable
HTTP message body representation stored in file.
HTTP message body representation stored in file.
- path
Path to file storing data of HTTP content.
- contentType
Optional content type from/for HTTP message headers.
-
sealed
trait
HttpContent extends AnyRef
HTTP message body representation.
-
sealed
trait
HttpMessage extends AnyRef
HTTP message representation.
- class HttpParams extends AnyRef
-
case class
HttpRequest(version: HttpVersion, method: Method, uri: Uri, headers: HttpParams, content: HttpContent) extends HttpMessage with Product with Serializable
HTTP request representation.
-
case class
HttpResponse(version: HttpVersion, status: Status, headers: HttpParams, content: HttpContent) extends HttpMessage with Product with Serializable
HTTP response representation.
- class HttpVersion extends AnyRef
Value Members
- object ContentType extends Serializable
-
object
HttpContent
Factory methods of HttpContent.
- object HttpHeaders
- object HttpParams
- object HttpRequest extends Serializable
- object HttpResponse extends Serializable
- object HttpVersion