sealed
trait
HttpRequestOrResponse[F[_]] extends AnyRef
Type Members
-
Abstract Value Members
-
abstract
def
body: Stream[F, Byte]
-
abstract
def
updateBody(body: Stream[F, Byte]): Self
-
abstract
def
updateHeaders(headers: List[HttpHeader]): Self
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: Any): Boolean
-
def
appendHeader(header: HttpHeader, headers: HttpHeader*): Self
-
final
def
asInstanceOf[T0]: T0
-
def
bodyAs[A](implicit D: BodyDecoder[A], F: Sync[F]): F[Attempt[A]]
-
def
bodyAsByteVectorStream: Stream[F, ByteVector]
-
def
bodyAsString(implicit F: Sync[F]): F[Attempt[String]]
-
lazy val
bodyIsChunked: Boolean
-
def
bodySize: Option[Long]
-
def
chunkedEncoding: Self
-
def
clone(): AnyRef
-
def
contentType: Option[ContentType]
-
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): HttpRequestOrResponse[F]
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withBody[A](a: A)(implicit W: BodyEncoder[A]): Self
-
def
withBodySize(sz: Long): Self
-
def
withContentType(ct: ContentType): Self
-
def
withHeader(header: HttpHeader, headers: HttpHeader*): Self
-
def
withHeaders[A](f: (List[HttpHeader]) ⇒ A): A
-
def
withStreamBody[A](body: Stream[F, A])(implicit E: StreamBodyEncoder[F, A]): Self
-
def
withStreamBody1[A](a: ⇒ A)(implicit E: StreamBodyEncoder[F, A]): Self
-
def
withUtf8Body(s: String): Self
-
Inherited from AnyRef
Inherited from Any
common request/response methods *