sealed case class HttpRequestHeader(method: HttpMethod.Value, path: Path = Uri.Path.Root, headers: List[HttpHeader] = Nil, query: Query = Uri.Query.empty, version: HttpVersion.Value = HttpVersion.V1_1) extends Product with Serializable
Http Request Header
- method
Request Method
- path
Request path (absolute)
- headers
Request Headers
- query
Request Query
- version
Http Request Version
- Self Type
- HttpRequestHeader
- Source
- HttpRequestHeader.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpRequestHeader
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new HttpRequestHeader(method: HttpMethod.Value, path: Path = Uri.Path.Root, headers: List[HttpHeader] = Nil, query: Query = Uri.Query.empty, version: HttpVersion.Value = HttpVersion.V1_1)
- method
Request Method
- path
Request path (absolute)
- headers
Request Headers
- query
Request Query
- version
Http Request Version
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toany2stringadd[HttpRequestHeader] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (HttpRequestHeader, B)
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toArrowAssoc[HttpRequestHeader] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (HttpRequestHeader) => Boolean, msg: => Any): HttpRequestHeader
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toEnsuring[HttpRequestHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (HttpRequestHeader) => Boolean): HttpRequestHeader
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toEnsuring[HttpRequestHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): HttpRequestHeader
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toEnsuring[HttpRequestHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): HttpRequestHeader
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toEnsuring[HttpRequestHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def firstHeader[H <: HttpHeader](implicit T: Typeable[H]): Option[H]
gets first http header satisfying type
H
constrain * - def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toStringFormat[HttpRequestHeader] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val headers: List[HttpHeader]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val method: HttpMethod.Value
- 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()
- val path: Path
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val query: Query
- def selectHeaders[H <: HttpHeader](implicit T: Typeable[H]): Seq[H]
select all headers of type
H
* - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val version: HttpVersion.Value
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (HttpRequestHeader, B)
- Implicit
- This member is added by an implicit conversion from HttpRequestHeader toArrowAssoc[HttpRequestHeader] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.