final case class HttpVersion extends Renderable with Ordered[HttpVersion] with Product with Serializable
HTTP's version number consists of two decimal digits separated by a "." (period or decimal point). The first digit ("major version") indicates the messaging syntax, whereas the second digit ("minor version") indicates the highest minor version within that major version to which the sender is conformant (able to understand for future communication).
- Source
- HttpVersion.scala
- See also
- Alphabetic
- By Inheritance
- HttpVersion
- Serializable
- Serializable
- Product
- Equals
- Ordered
- Comparable
- Renderable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: HttpVersion): Boolean
- Definition Classes
- Ordered
-
def
<=(that: HttpVersion): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: HttpVersion): Boolean
- Definition Classes
- Ordered
-
def
>=(that: HttpVersion): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compare(that: HttpVersion): Int
Orders by major version ascending, then minor version ascending.
Orders by major version ascending, then minor version ascending.
>>> List(HttpVersion.`HTTP/1.0`, HttpVersion.`HTTP/1.1`, HttpVersion.`HTTP/0.9`).sorted List(HTTP/0.9, HTTP/1.0, HTTP/1.1)
- Definition Classes
- HttpVersion → Ordered
-
def
compareTo(that: HttpVersion): Int
- Definition Classes
- Ordered → Comparable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val major: Int
- val minor: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
render(writer: Writer): writer.type
Renders as an HTTP/1.1 string
Renders as an HTTP/1.1 string
>>> HttpVersion.`HTTP/1.1`.renderString HTTP/1.1
- Definition Classes
- HttpVersion → Renderable
-
def
renderString: String
Generates a String rendering of this object
Generates a String rendering of this object
- Definition Classes
- Renderable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Renderable → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()