akka.http

model

package model

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. final case class BodyPart(entity: HttpEntity, headers: Seq[HttpHeader] = Nil) extends Product with Serializable

    Model for one part of a multipart message.

  2. sealed trait ByteContentRange extends model.japi.ContentRange with ContentRange

  3. sealed trait ContentRange extends model.japi.ContentRange with ValueRenderable

  4. final case class ContentType(mediaType: MediaType, definedCharset: Option[HttpCharset]) extends model.japi.ContentType with ValueRenderable with Product with Serializable

  5. final case class ContentTypeRange(mediaRange: MediaRange, charsetRange: HttpCharsetRange) extends ValueRenderable with Product with Serializable

  6. final case class ErrorInfo(summary: String = "", detail: String = "") extends Product with Serializable

    Two-level model of error information.

    Two-level model of error information. The summary should explain what is wrong with the request or response *without* directly repeating anything present in the message itself (in order to not open holes for XSS attacks), while the detail can contain additional information from any source (even the request itself).

  7. abstract case class ExceptionWithErrorInfo(info: ErrorInfo) extends RuntimeException with Product with Serializable

    Marker for exceptions that provide an ErrorInfo

  8. final case class FormData(fields: Query) extends HttpForm with Product with Serializable

    Model for application/x-www-form-urlencoded form data.

  9. final case class FormFile(name: Option[String], entity: Default) extends Product with Serializable

  10. final case class HttpCharset extends model.japi.HttpCharset with SingletonValueRenderable with WithQValue[HttpCharsetRange] with Product with Serializable

  11. sealed abstract class HttpCharsetRange extends model.japi.HttpCharsetRange with ValueRenderable with WithQValue[HttpCharsetRange]

    A charset range as encountered in Accept-Charset.

    A charset range as encountered in Accept-Charset. Can either be a single charset, or * if all charsets are supported and optionally a qValue for selecting this choice.

  12. sealed trait HttpEntity extends model.japi.HttpEntity

    Models the entity (aka "body" or "content) of an HTTP message.

  13. sealed trait HttpForm extends AnyRef

  14. abstract class HttpHeader extends model.japi.HttpHeader with ToStringRenderable

    The model of an HTTP header.

    The model of an HTTP header. In its most basic form headers are simple name-value pairs. Header names are compared in a case-insensitive way.

  15. sealed trait HttpMessage extends model.japi.HttpMessage

    Common base class of HttpRequest and HttpResponse.

  16. final case class HttpMethod extends model.japi.HttpMethod with SingletonValueRenderable with Product with Serializable

    The method of an HTTP request.

  17. final case class HttpProtocol extends model.japi.HttpProtocol with SingletonValueRenderable with Product with Serializable

    The protocol of an HTTP message

  18. final case class HttpRequest(method: HttpMethod = HttpMethods.GET, uri: Uri = Uri./, headers: Seq[HttpHeader] = Nil, entity: Regular = HttpEntity.Empty, protocol: HttpProtocol = HttpProtocols.`HTTP/1.1`) extends model.japi.HttpRequest with HttpMessage with Product with Serializable

    The immutable model HTTP request model.

  19. final case class HttpResponse(status: StatusCode = StatusCodes.OK, headers: Seq[HttpHeader] = Nil, entity: HttpEntity = HttpEntity.Empty, protocol: HttpProtocol = HttpProtocols.`HTTP/1.1`) extends model.japi.HttpResponse with HttpMessage with Product with Serializable

    The immutable HTTP response model.

  20. class IllegalHeaderException extends ExceptionWithErrorInfo

  21. class IllegalUriException extends ExceptionWithErrorInfo

  22. class InvalidContentLengthException extends ExceptionWithErrorInfo

  23. sealed abstract class MediaRange extends model.japi.MediaRange with Renderable with WithQValue[MediaRange]

  24. sealed abstract case class MediaType extends model.japi.MediaType with LazyValueBytesRenderable with WithQValue[MediaRange] with Product with Serializable

  25. final case class MultipartByteRanges(parts: Producer[BodyPart]) extends MultipartParts with Product with Serializable

    Model for multipart/byteranges content as defined in RFC 2046.

    Model for multipart/byteranges content as defined in RFC 2046. If you are looking for a model for multipart/form-data you should be using MultipartFormData.

  26. final case class MultipartContent(parts: Producer[BodyPart]) extends MultipartParts with Product with Serializable

    Basic model for multipart content as defined in RFC 2046.

    Basic model for multipart content as defined in RFC 2046. If you are looking for a model for multipart/form-data you should be using MultipartFormData.

  27. final case class MultipartFormData(fields: Seq[BodyPart]) extends HttpForm with Product with Serializable

    Model for multipart/form-data content as defined in RFC 2388.

    Model for multipart/form-data content as defined in RFC 2388. All parts must contain a Content-Disposition header with a type form-data and a name parameter that is unique

  28. class MultipartMediaType extends MediaType

  29. trait MultipartParts extends AnyRef

  30. sealed abstract class NonMultipartMediaType extends MediaType

  31. class ParsingException extends ExceptionWithErrorInfo

  32. sealed abstract class RemoteAddress extends model.japi.RemoteAddress with ValueRenderable

  33. sealed abstract class StatusCode extends model.japi.StatusCode with LazyValueBytesRenderable

    The result status code of an HTTP response.

  34. sealed abstract class TransferEncoding extends model.japi.TransferEncoding with Renderable

  35. sealed abstract case class Uri(scheme: String, authority: Authority, path: Path, query: Query, fragment: Option[String]) extends Product with Serializable

    An immutable model of an internet URI as defined by http://tools.

    An immutable model of an internet URI as defined by http://tools.ietf.org/html/rfc3986. All members of this class represent the *decoded* URI elements (i.e. without percent-encoding).

  36. trait WithQValue[T] extends AnyRef

    Helper trait for objects that allow creating new instances with a modified qValue.

Value Members

  1. object BodyPart extends Serializable

  2. object ContentRange

  3. object ContentType extends Serializable

  4. object ContentTypeRange extends Serializable

  5. object ContentTypes

  6. object ErrorInfo extends Serializable

  7. object FormData extends Serializable

  8. object FormFile extends Serializable

  9. object HttpCharset extends Serializable

  10. object HttpCharsetRange

  11. object HttpCharsets extends ObjectRegistry[String, HttpCharset]

  12. object HttpEntity

  13. object HttpHeader

  14. object HttpMessage

  15. object HttpMethod extends Serializable

  16. object HttpMethods extends ObjectRegistry[String, HttpMethod]

  17. object HttpProtocols extends ObjectRegistry[String, HttpProtocol]

  18. object HttpRequest extends Serializable

  19. object MediaRange

  20. object MediaRanges extends ObjectRegistry[String, MediaRange]

  21. object MediaType extends Serializable

  22. object MediaTypes extends ObjectRegistry[(String, String), MediaType]

  23. object MultipartByteRanges extends Serializable

  24. object MultipartContent extends Serializable

  25. object MultipartFormData extends Serializable

  26. object RemoteAddress

  27. object StatusCode

  28. object StatusCodes extends ObjectRegistry[Int, StatusCode]

  29. object TransferEncodings

  30. object Uri extends Serializable

  31. object UriRendering

  32. package headers

  33. package japi

  34. package parser

Ungrouped