Package

spray

http

Permalink

package http

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. http
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AllowedOrigins extends ToStringRenderable

    Permalink
  2. case class BasicHttpCredentials(username: String, password: String) extends HttpCredentials with Product with Serializable

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

    Permalink

    Model for one part of a multipart message.

  4. abstract class ByteArrayBasedRendering extends Rendering

    Permalink
  5. class ByteArrayRendering extends ByteArrayBasedRendering

    Permalink
  6. sealed trait ByteRange extends ValueRenderable

    Permalink
  7. class ByteStringRendering extends ByteArrayBasedRendering

    Permalink
  8. sealed trait CacheDirective extends Renderable

    Permalink
  9. case class ChunkedMessageEnd(extension: String = "", trailer: List[HttpHeader] = Nil) extends HttpRequestPart with HttpResponsePart with HttpMessageEnd with Product with Serializable

    Permalink
  10. case class ChunkedRequestStart(request: HttpRequest) extends HttpMessageStart with HttpRequestPart with Product with Serializable

    Permalink
  11. case class ChunkedResponseStart(response: HttpResponse) extends HttpMessageStart with HttpResponsePart with Product with Serializable

    Permalink
  12. case class Confirmed(messagePart: HttpMessagePart, sentAck: Any) extends HttpMessagePartWrapper with Product with Serializable

    Permalink
  13. sealed trait ContentRange extends ValueRenderable

    Permalink
  14. case class ContentType(mediaType: MediaType, definedCharset: Option[HttpCharset]) extends ValueRenderable with Product with Serializable

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

    Permalink
  16. case class DateTime extends Ordered[DateTime] with Renderable with Product with Serializable

    Permalink

    Immutable, fast and efficient Date + Time implementation without any dependencies.

    Immutable, fast and efficient Date + Time implementation without any dependencies. Does not support TimeZones, all DateTime values are always GMT based. Note that this implementation discards milliseconds (i.e. rounds down to full seconds).

  17. case class EntityTag(tag: String, weak: Boolean = false) extends ValueRenderable with Product with Serializable

    Permalink
  18. sealed abstract class EntityTagRange extends ValueRenderable

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

    Permalink

    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).

  20. abstract class ExceptionWithErrorInfo extends RuntimeException

    Permalink

    Marker for exceptions that provide an ErrorInfo

  21. case class FormData(fields: Seq[(String, String)]) extends HttpForm with Product with Serializable

    Permalink

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

  22. case class FormFile(name: Option[String], entity: NonEmpty) extends Product with Serializable

    Permalink
  23. case class GenericHttpCredentials(scheme: String, token: String, params: Map[String, String] = Map.empty) extends HttpCredentials with Product with Serializable

    Permalink
  24. case class HttpChallenge(scheme: String, realm: String, params: Map[String, String] = Map.empty) extends ValueRenderable with Product with Serializable

    Permalink
  25. case class HttpCharset extends LazyValueBytesRenderable with WithQValue[HttpCharsetRange] with Product with Serializable

    Permalink
  26. sealed abstract class HttpCharsetRange extends ValueRenderable with WithQValue[HttpCharsetRange]

    Permalink
  27. case class HttpCookie(name: String, content: String, expires: Option[DateTime] = None, maxAge: Option[Long] = None, domain: Option[String] = None, path: Option[String] = None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = None) extends ValueRenderable with Product with Serializable

    Permalink
  28. sealed trait HttpCredentials extends ValueRenderable

    Permalink
  29. sealed abstract class HttpData extends AnyRef

    Permalink
  30. class HttpDataRendering extends Rendering

    Permalink
  31. case class HttpEncoding extends LazyValueBytesRenderable with WithQValue[HttpEncodingRange] with Product with Serializable

    Permalink
  32. sealed abstract class HttpEncodingRange extends ValueRenderable with WithQValue[HttpEncodingRange]

    Permalink
  33. sealed trait HttpEntity extends AnyRef

    Permalink

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

  34. sealed trait HttpForm extends AnyRef

    Permalink
  35. abstract class HttpHeader extends ToStringRenderable

    Permalink
  36. sealed abstract class HttpMessage extends HttpMessageStart with HttpMessageEnd

    Permalink
  37. sealed trait HttpMessageEnd extends HttpMessagePart

    Permalink
  38. sealed trait HttpMessagePart extends HttpMessagePartWrapper

    Permalink
  39. sealed trait HttpMessagePartWrapper extends AnyRef

    Permalink
  40. sealed trait HttpMessageStart extends HttpMessagePart

    Permalink
  41. case class HttpMethod extends LazyValueBytesRenderable with Product with Serializable

    Permalink

  42. case class HttpOrigin(scheme: String, host: Host) extends ToStringRenderable with Product with Serializable

    Permalink
  43. case class HttpProtocol extends LazyValueBytesRenderable with Product with Serializable

    Permalink
  44. case class HttpRequest(method: HttpMethod = HttpMethods.GET, uri: Uri = Uri./, headers: List[HttpHeader] = Nil, entity: HttpEntity = HttpEntity.Empty, protocol: HttpProtocol = HttpProtocols.`HTTP/1.1`) extends HttpMessage with HttpRequestPart with Product with Serializable

    Permalink

    Immutable HTTP request model.

  45. sealed trait HttpRequestPart extends HttpMessagePart

    Permalink
  46. case class HttpResponse(status: StatusCode = StatusCodes.OK, entity: HttpEntity = HttpEntity.Empty, headers: List[HttpHeader] = Nil, protocol: HttpProtocol = HttpProtocols.`HTTP/1.1`) extends HttpMessage with HttpResponsePart with Product with Serializable

    Permalink

    Immutable HTTP response model.

  47. sealed trait HttpResponsePart extends HttpMessagePart

    Permalink
  48. class IllegalRequestException extends ExceptionWithErrorInfo

    Permalink
  49. class IllegalUriException extends ExceptionWithErrorInfo

    Permalink
  50. case class Language(primaryTag: String, subTags: Seq[String], qValue: Float = 1.0f) extends LanguageRange with Product with Serializable

    Permalink
  51. sealed abstract class LanguageRange extends ValueRenderable with WithQValue[LanguageRange]

    Permalink
  52. trait LazyValueBytesRenderable extends Renderable

    Permalink
  53. trait LinkHeaderCompanion extends AnyRef

    Permalink
  54. sealed abstract class MediaRange extends Renderable with WithQValue[MediaRange]

    Permalink
  55. sealed abstract case class MediaType extends LazyValueBytesRenderable with WithQValue[MediaRange] with Product with Serializable

    Permalink
  56. case class MessageChunk(data: NonEmpty, extension: String) extends HttpRequestPart with HttpResponsePart with Product with Serializable

    Permalink

    Instance of this class represent the individual chunks of a chunked HTTP message (request or response).

  57. trait MessagePredicate extends (HttpMessage) ⇒ Boolean

    Permalink
  58. case class MultipartByteRanges(parts: Seq[BodyPart]) extends MultipartParts with Product with Serializable

    Permalink

    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 spray.http.MultipartFormData.

  59. case class MultipartContent(parts: Seq[BodyPart]) extends MultipartParts with Product with Serializable

    Permalink

    Basic model for multipart/mixed content as defined in RFC 2046.

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

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

    Permalink

    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

  61. class MultipartMediaType extends MediaType

    Permalink
  62. trait MultipartParts extends AnyRef

    Permalink
  63. sealed abstract class NonMultipartMediaType extends MediaType

    Permalink
  64. case class OAuth2BearerToken(token: String) extends HttpCredentials with Product with Serializable

    Permalink
  65. case class ProductVersion(product: String = "", version: String = "", comment: String = "") extends ValueRenderable with Product with Serializable

    Permalink
  66. sealed trait RangeUnit extends ValueRenderable

    Permalink
  67. sealed abstract class RemoteAddress extends ValueRenderable

    Permalink
  68. trait Renderable extends AnyRef

    Permalink
  69. trait Renderer[-T] extends AnyRef

    Permalink
  70. trait Rendering extends AnyRef

    Permalink
  71. class RequestProcessingException extends ExceptionWithErrorInfo

    Permalink
  72. case class SetRequestTimeout(timeout: Duration) extends Product with Serializable

    Permalink
  73. case class SetTimeoutTimeout(timeout: Duration) extends Product with Serializable

    Permalink
  74. trait SingletonValueRenderable extends Product with Renderable

    Permalink
  75. case class SomeOrigins(originList: Seq[HttpOrigin]) extends AllowedOrigins with Product with Serializable

    Permalink
  76. sealed abstract class StatusCode extends LazyValueBytesRenderable

    Permalink
  77. class StringRendering extends Rendering

    Permalink
  78. case class Timedout(request: HttpRequestPart with HttpMessageStart) extends Product with Serializable

    Permalink
  79. trait ToStringRenderable extends Renderable

    Permalink
  80. sealed abstract case class Uri extends ToStringRenderable with Product with Serializable

    Permalink

    An immutable model of an internet URI as defined by http://tools.ietf.org/html/rfc3986.

    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).

  81. trait ValueRenderable extends ToStringRenderable

    Permalink
  82. trait WithQValue[T] extends AnyRef

    Permalink

Value Members

  1. object AllOrigins extends AllowedOrigins with Product with Serializable

    Permalink
  2. object BasicHttpCredentials extends Serializable

    Permalink
  3. object BodyPart extends Serializable

    Permalink
  4. object ByteRange

    Permalink
  5. object CacheDirective

    Permalink
  6. object CacheDirectives

    Permalink
  7. object ChunkedMessageEnd extends ChunkedMessageEnd

    Permalink
  8. object ContentRange

    Permalink
  9. object ContentType extends Serializable

    Permalink
  10. object ContentTypeRange extends Serializable

    Permalink
  11. object ContentTypes

    Permalink
  12. object DateTime extends Serializable

    Permalink
  13. object EntityTag extends Serializable

    Permalink
  14. object EntityTagRange

    Permalink
  15. object ErrorInfo extends Serializable

    Permalink
  16. object FormData extends Serializable

    Permalink
  17. object FormFile extends Serializable

    Permalink
  18. object GenericHttpCredentials extends Serializable

    Permalink
  19. object HttpCharset extends Serializable

    Permalink
  20. object HttpCharsetRange

    Permalink
  21. object HttpCharsets extends ObjectRegistry[String, HttpCharset]

    Permalink
  22. object HttpCookie extends Serializable

    Permalink
  23. object HttpData

    Permalink
  24. object HttpEncoding extends Serializable

    Permalink
  25. object HttpEncodingRange

    Permalink
  26. object HttpEncodings extends ObjectRegistry[String, HttpEncoding]

    Permalink
  27. object HttpEntity

    Permalink
  28. object HttpHeader

    Permalink
  29. object HttpHeaders

    Permalink
  30. object HttpMessage

    Permalink
  31. object HttpMessagePartWrapper

    Permalink
  32. object HttpMessageStart

    Permalink
  33. object HttpMethod extends Serializable

    Permalink
  34. object HttpMethods extends ObjectRegistry[String, HttpMethod]

    Permalink
  35. object HttpOrigin extends Serializable

    Permalink
  36. object HttpProtocols extends ObjectRegistry[String, HttpProtocol]

    Permalink
  37. object HttpRequestPart

    Permalink
  38. object HttpResponsePart

    Permalink
  39. object Language extends Serializable

    Permalink
  40. object LanguageRanges

    Permalink
  41. object MediaRange

    Permalink
  42. object MediaRanges extends ObjectRegistry[String, MediaRange]

    Permalink
  43. object MediaType extends Serializable

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

    Permalink
  45. object MessageChunk extends Serializable

    Permalink
  46. object MessagePredicate

    Permalink
  47. object MultipartByteRanges extends Serializable

    Permalink
  48. object MultipartContent extends Serializable

    Permalink
  49. object MultipartFormData extends Serializable

    Permalink
  50. object ProductVersion extends Serializable

    Permalink
  51. object RangeUnit

    Permalink
  52. object RemoteAddress

    Permalink
  53. object Renderer

    Permalink
  54. object Rendering

    Permalink
  55. object StatusCode

    Permalink
  56. object StatusCodes extends ObjectRegistry[Int, StatusCode]

    Permalink
  57. object Uri extends Serializable

    Permalink
  58. package parser

    Permalink
  59. def warmUp(): Unit

    Permalink

    Warms up the spray.http module by triggering the loading of most classes in this package, so as to increase the speed of the first usage.

Inherited from AnyRef

Inherited from Any

Ungrouped