Packages

object HttpVersion extends Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpVersion
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val HTTP/0.9: HttpVersion

    HTTP/0.9 was first formalized in the HTTP/1.0 spec.

    HTTP/0.9 was first formalized in the HTTP/1.0 spec. HTTP/0.9 does not literally appear in the HTTP/0.9 protocol.

    See also

    The original HTTP as defined in 1991

    RFC1945, Hypertext Transfer Protocol -- HTTP/1.0

  5. val HTTP/1.0: HttpVersion

    HTTP/1.0 is the first major version of HTTP.

    HTTP/1.0 is the first major version of HTTP.

    See also

    RFC1945, Hypertext Transfer Protocol -- HTTP/1.0

  6. val HTTP/1.1: HttpVersion

    HTTP/1.1 revises HTTP/1.0, and is currently defined by six RFCs.

  7. val HTTP/2: HttpVersion

    HTTP/2 is the second major version of HTTP.

    HTTP/2 is the second major version of HTTP. It defines no minor versions, so minor version 0 is implied.

    See also

    RFC7540, Hypertext Transfer Protocol Version 2 (HTTP/2)

  8. val HTTP/3: HttpVersion

    HTTP/3 is the third major version of HTTP.

    HTTP/3 is the third major version of HTTP. It defines no minor versions, so minor version 0 is implied.

    See also

    Hypertext Transfer Protocol Version 3 (HTTP/3) (draft)

  9. def apply(major: Int, minor: Int): HttpVersion
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. implicit val catsInstancesForHttp4sHttpVersion: Order[HttpVersion] with Show[HttpVersion] with Hash[HttpVersion] with BoundedEnumerable[HttpVersion]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def fromString(s: String): ParseResult[HttpVersion]

    Returns an HTTP version from its HTTP/1 string representation.

    Returns an HTTP version from its HTTP/1 string representation.

    >>> HttpVersion.fromString("HTTP/1.1")
    Right(HTTP/1.1)
  17. def fromVersion(major: Int, minor: Int): ParseResult[HttpVersion]

    Returns an HTTP version from a major and minor version.

    Returns an HTTP version from a major and minor version.

    >>> HttpVersion.fromVersion(1, 1)
    Right(HTTP/1.1)
    
    >>> HttpVersion.fromVersion(1, 10)
    Left(org.http4s.ParseFailure: Invalid HTTP version: major must be <= 9: 10)
    major

    The major version, 0 to 9 inclusive

    minor

    The minor version, 0 to 9 inclusive

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def HTTP/2.0: HttpVersion
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.6) Renamed to HTTP/2. HTTP/2 does not define minor versions.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped