sealed case class HttpResponseHeader(status: HttpStatusCode, reason: String, headers: List[HttpHeader] = Nil, version: HttpVersion.Value = HttpVersion.V1_1) extends Product with Serializable
Header of the Http Response
- status
Status code
- reason
Reason Phrase
- headers
Headers of the response
- version
Version
- Self Type
- HttpResponseHeader
- Source
- HttpResponseHeader.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpResponseHeader
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
HttpResponseHeader(status: HttpStatusCode, reason: String, headers: List[HttpHeader] = Nil, version: HttpVersion.Value = HttpVersion.V1_1)
- status
Status code
- reason
Reason Phrase
- headers
Headers of the response
- version
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 HttpResponseHeader to any2stringadd[HttpResponseHeader] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (HttpResponseHeader, B)
- Implicit
- This member is added by an implicit conversion from HttpResponseHeader to ArrowAssoc[HttpResponseHeader] 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
ensuring(cond: (HttpResponseHeader) ⇒ Boolean, msg: ⇒ Any): HttpResponseHeader
- Implicit
- This member is added by an implicit conversion from HttpResponseHeader to Ensuring[HttpResponseHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (HttpResponseHeader) ⇒ Boolean): HttpResponseHeader
- Implicit
- This member is added by an implicit conversion from HttpResponseHeader to Ensuring[HttpResponseHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): HttpResponseHeader
- Implicit
- This member is added by an implicit conversion from HttpResponseHeader to Ensuring[HttpResponseHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): HttpResponseHeader
- Implicit
- This member is added by an implicit conversion from HttpResponseHeader to Ensuring[HttpResponseHeader] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.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 HttpResponseHeader to StringFormat[HttpResponseHeader] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- val headers: List[HttpHeader]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val reason: String
-
def
selectHeaders[H <: HttpHeader](implicit T: Typeable[H]): Seq[H]
select all headers of type
H
* - val status: HttpStatusCode
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val version: HttpVersion.Value
-
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( ... )
-
def
→[B](y: B): (HttpResponseHeader, B)
- Implicit
- This member is added by an implicit conversion from HttpResponseHeader to ArrowAssoc[HttpResponseHeader] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc