org

http4s

package http4s

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. http4s
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class AttributeEntry[T](key: AttributeKey[T], value: T) extends Product with Serializable

    A map entry where key is constrained to only be associated with a fixed value of type T.

  2. final class AttributeKey[T] extends AnyRef

    A key in an AttributeMap that constrains its associated value to be of type T.

  3. final class AttributeMap extends AnyRef

    An immutable map where an AttributeKey for a fixed type T can only be associated with values of type T.

  4. type AuthScheme = CaseInsensitiveString

  5. case class BasicCredentials(username: String, password: String) extends Credentials with Product with Serializable

  6. sealed trait CacheDirective extends Product with Renderable

  7. case class Challenge(scheme: String, realm: String, params: Map[String, String] = ...) extends Renderable with Product with Serializable

  8. final case class Charset extends Renderable with Product with Serializable

  9. sealed abstract class CharsetRange extends HasQValue with Renderable

  10. trait CharsetRangeInstances extends AnyRef

  11. final case class ContentCoding(coding: CaseInsensitiveString, qValue: QValue = QValue.One) extends HasQValue with Renderable with Product with Serializable

  12. case class Cookie(name: String, content: String, expires: Option[DateTime] = scala.None, maxAge: Option[Long] = scala.None, domain: Option[String] = scala.None, path: Option[String] = scala.None, secure: Boolean = false, httpOnly: Boolean = false, extension: Option[String] = scala.None) extends Renderable with Product with Serializable

  13. sealed abstract class Credentials extends Renderable

  14. final class DateTime extends Ordered[DateTime] with Renderable with Product6[Int, Int, Int, Int, Int, Int]

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

  15. sealed trait DecodeFailure extends AnyRef

  16. final case class DecodeFailureException(failure: DecodeFailure) extends RuntimeException with Product with Serializable

  17. type DecodeResult[T] = EitherT[Task, DecodeFailure, T]

  18. type EntityBody = Process[Task, ByteVector]

  19. sealed trait EntityDecoder[T] extends AnyRef

    A type that can be used to decode a Message EntityDecoder is used to attempt to decode a Message returning the entire resulting A.

  20. trait EntityDecoderInstances extends AnyRef

    Implementations of the EntityDecoder instances

  21. trait EntityEncoder[A] extends AnyRef

  22. trait EntityEncoderInstances extends EntityEncoderInstances0

  23. trait EntityEncoderInstances0 extends AnyRef

  24. case class GenericCredentials(authScheme: AuthScheme, params: Map[String, String]) extends Credentials with Product with Serializable

  25. trait HasQValue extends AnyRef

  26. sealed trait Header extends Renderable with Product

    Abstract representation o the HTTP header

  27. sealed trait HeaderKey extends AnyRef

  28. final class Headers extends Iterable[Header] with IterableLike[Header, Headers]

    A collection of HTTP Headers

  29. trait Http4s extends Http4sInstances with Http4sFunctions with Http4sSyntax

  30. trait Http4sFunctions extends QValueFunctions with UriFunctions

  31. trait Http4sInstances extends EntityDecoderInstances with HttpVersionInstances with EntityEncoderInstances with CharsetRangeInstances with QValueInstances with MethodInstances with StatusInstances

  32. trait Http4sSyntax extends CaseInsensitiveStringSyntax with MessageSyntax

  33. case class Http4sVersion(major: Int, minor: Int) extends Product with Serializable

  34. case class HttpVersion extends Renderable with Ordered[HttpVersion] with Product with Serializable

    An HTTP version, as seen on the start line of an HTTP request or response.

  35. trait HttpVersionInstances extends AnyRef

  36. case class InvalidBodyException(msg: String) extends Exception with NoStackTrace with Product with Serializable

    Exception dealing with invalid body

  37. case class InvalidResponseException(msg: String) extends Exception with NoStackTrace with Product with Serializable

    Exception dealing with invalid response

  38. case class LanguageTag(primaryTag: String, q: QValue = QValue.One, subTags: Seq[String] = immutable.this.Nil) extends Renderable with Product with Serializable

  39. sealed class MediaRange extends HasQValue with Renderable

  40. sealed class MediaType extends MediaRange

  41. case class MediaTypeMismatch(messageType: MediaType, expected: Set[MediaRange]) extends DecodeFailure with Product with Serializable

    Indicates that no EntityDecoder matches the MediaType of the message being decoded

  42. case class MediaTypeMissing(expected: Set[MediaRange]) extends DecodeFailure with Product with Serializable

    Indicates that a Message attempting to be decoded has no MediaType and no EntityDecoder was lenient enough to accept it.

  43. sealed trait Message extends MessageOps

    Represents a HTTP Message.

  44. trait MessageOps extends Any

  45. trait MessageSyntax extends AnyRef

  46. sealed abstract case class Method extends Renderable with Semantics with Product with Serializable

    An HTTP method.

  47. trait MethodInstances extends AnyRef

  48. case class OAuth2BearerToken(token: String) extends Credentials with Product with Serializable

  49. final case class ParseException(failure: ParseFailure) extends RuntimeException with Product with Serializable

  50. final case class ParseFailure(sanitized: String, details: String) extends DecodeFailure with Product with Serializable

    Indicates an error parsing an HTTP message.

  51. type ParseResult[+A] = \/[ParseFailure, A]

  52. final class QValue extends AnyVal with Ordered[QValue] with Renderable

    A Quality Value.

  53. trait QValueFunctions extends AnyRef

  54. trait QValueInstances extends AnyRef

  55. final class Query extends IndexedSeq[(String, Option[String])] with IndexedSeqOptimized[(String, Option[String]), Query] with QueryOps with Renderable

    Collection representation of a query string

  56. trait QueryOps extends AnyRef

  57. trait QueryParam[T] extends AnyRef

    type class defining the key of a query parameter Usually used in conjunction with QueryParamEncoder and QueryParamDecoder

  58. trait QueryParamDecoder[T] extends AnyRef

    Type class defining how to decode a QueryParameterValue into a T

  59. trait QueryParamEncoder[T] extends AnyRef

    Type class defining how to encode a T as a QueryParameterValues

  60. trait QueryParamKeyLike[T] extends AnyRef

  61. final case class QueryParameterKey(value: String) extends AnyVal with Product with Serializable

  62. final case class QueryParameterValue(value: String) extends AnyVal with Product with Serializable

  63. case class RangeUnit(value: String) extends Renderable with Product with Serializable

  64. case class Request(method: Method = Method.GET, uri: Uri = ..., httpVersion: HttpVersion = HttpVersion.HTTP/1.1, headers: Headers = Headers.empty, body: EntityBody = http4s.this.`package`.EmptyBody, attributes: AttributeMap = AttributeMap.empty) extends Message with MessageOps with Product with Serializable

    Representation of an incoming HTTP message

  65. class RequestCookieJar extends Iterable[Cookie] with IterableLike[Cookie, RequestCookieJar]

  66. case class Response(status: Status = Status.Ok, httpVersion: HttpVersion = HttpVersion.HTTP/1.1, headers: Headers = Headers.empty, body: EntityBody = http4s.this.`package`.EmptyBody, attributes: AttributeMap = AttributeMap.empty) extends Message with ResponseOps with Product with Serializable

    Representation of the HTTP response to send back to the client

  67. trait ResponseOps extends MessageOps

  68. final case class Status extends Ordered[Status] with Renderable with Product with Serializable

    Representation of the HTTP response code and reason

  69. trait StatusInstances extends AnyRef

  70. trait TaskMessageOps[M <: Message] extends MessageOps

  71. final class TaskRequestOps extends AnyVal with TaskMessageOps[Request]

  72. final class TaskResponseOps extends AnyVal with TaskMessageOps[Response] with ResponseOps

  73. final case class TransferCoding extends Renderable with Product with Serializable

  74. case class Uri(scheme: Option[CaseInsensitiveString] = scala.None, authority: Option[Authority] = scala.None, path: Path = "", query: Query = Query.empty, fragment: Option[Fragment] = scala.None) extends QueryOps with Renderable with Product with Serializable

    Representation of the Request URI Structure containing information related to a Uri.

  75. trait UriFunctions extends AnyRef

  76. case class UriTemplate(scheme: Option[Scheme] = scala.None, authority: Option[Authority] = scala.None, path: Path = immutable.this.Nil, query: UriTemplate.Query = immutable.this.Nil, fragment: Fragment = immutable.this.Nil) extends Product with Serializable

    Simple representation of a URI Template that can be rendered as RFC6570 conform string.

  77. final class UrlForm extends AnyVal

Value Members

  1. val ApiVersion: Http4sVersion

  2. object AttributeKey

  3. object AttributeMap

  4. object AuthScheme

  5. object BasicCredentials extends Serializable

  6. object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  7. object CacheDirective

    A registry of cache-directives, as listed in http://www.

  8. object Charset extends Serializable

  9. object CharsetRange extends CharsetRangeInstances

  10. object ContentCoding extends Registry with Serializable

  11. object DateTime

  12. object DecodeResult

  13. val DefaultCharset: Charset

  14. def EmptyBody: Process0[Nothing]

  15. object EntityDecoder extends EntityDecoderInstances

    EntityDecoder is used to attempt to decode an EntityBody This companion object provides a way to create new EntityDecoders along with some commonly used instances which can be resolved implicitly.

  16. object EntityEncoder extends EntityEncoderInstances

  17. object Header

  18. object HeaderKey

  19. object Headers

  20. object Http4s extends Http4s

  21. object Http4sFunctions extends Http4sFunctions

  22. object Http4sInstances extends Http4sInstances

  23. object Http4sSyntax extends Http4sSyntax

  24. object HttpVersion extends HttpVersionInstances with Serializable

  25. object LanguageTag extends Serializable

  26. object MediaRange extends Registry

  27. object MediaType extends Registry

  28. object Message

  29. object MessageSyntax extends MessageSyntax

  30. object Method extends MethodInstances with Serializable

  31. object ParseFailure extends Serializable

  32. object ParseResult

  33. object QValue extends QValueInstances with QValueFunctions

  34. object Query

  35. object QueryParam

  36. object QueryParamDecoder

  37. object QueryParamEncoder

  38. object QueryParamKeyLike

  39. object RangeUnit extends Serializable

  40. object Request extends Serializable

  41. object RequestCookieJar

  42. object Response extends Serializable

  43. object StaticFile

  44. object Status extends Serializable

  45. object TransferCoding extends Registry with Serializable

  46. object Uri extends UriFunctions with Serializable

  47. object UriTemplate extends Serializable

  48. object UrlForm

  49. package headers

  50. package parser

  51. package server

  52. package util

Inherited from AnyRef

Inherited from Any

Ungrouped