object Http4s extends Http4s
- Source
- Http4s.scala
- Alphabetic
- By Inheritance
- Http4s
- Http4s
- Http4sSyntax
- MessageSyntax
- CaseInsensitiveStringSyntax
- Http4sFunctions
- UriFunctions
- QValueFunctions
- Http4sInstances
- StatusInstances
- MethodInstances
- QValueInstances
- CharsetRangeInstances
- EntityEncoderInstances
- EntityEncoderInstances0
- HttpVersionInstances
- EntityDecoderInstances
- 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
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
CharacterSetEqual: Equal[CharsetRange]
- Definition Classes
- CharsetRangeInstances
-
implicit
val
CharsetShow: Show[Charset]
- Definition Classes
- CharsetRangeInstances
-
implicit
val
HttpVersionOrder: Order[HttpVersion]
- Definition Classes
- HttpVersionInstances
-
implicit
val
HttpVersionShow: Show[HttpVersion]
- Definition Classes
- HttpVersionInstances
-
implicit
val
MethodInstances: Show[Method] with Equal[Method]
- Definition Classes
- MethodInstances
-
implicit
val
StatusOrder: Order[Status]
- Definition Classes
- StatusInstances
-
implicit
val
StatusShow: Show[Status]
- Definition Classes
- StatusInstances
-
implicit
def
ToCaseInsensitiveStringSyntax(cs: CharSequence): CaseInsensitiveStringOps
- Definition Classes
- CaseInsensitiveStringSyntax
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binFile(file: File): EntityDecoder[File]
- Definition Classes
- EntityDecoderInstances
-
implicit
val
binary: EntityDecoder[ByteVector]
- Definition Classes
- EntityDecoderInstances
-
implicit
val
byteArrayEncoder: EntityEncoder[Array[Byte]]
- Definition Classes
- EntityEncoderInstances
-
implicit
val
byteBufferEncoder: EntityEncoder[ByteBuffer]
- Definition Classes
- EntityEncoderInstances
-
implicit
val
byteVectorEncoder: EntityEncoder[ByteVector]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
charArrayEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[Array[Char]]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
charBufferEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[CharBuffer]
- Definition Classes
- EntityEncoderInstances
-
def
chunkedEncoder[A](f: (A) ⇒ Channel[Task, Int, ByteVector], chunkSize: Int = DefaultChunkSize): EntityEncoder[A]
- Definition Classes
- EntityEncoderInstances
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
emptyEncoder[A]: EntityEncoder[A]
- Definition Classes
- EntityEncoderInstances0
-
implicit
val
entityEncoderContravariant: Contravariant[EntityEncoder]
- Definition Classes
- EntityEncoderInstances
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error[T](t: Throwable): EntityDecoder[T]
Provides a mechanism to fail decoding
Provides a mechanism to fail decoding
- Definition Classes
- EntityDecoderInstances
-
implicit
val
fileEncoder: EntityEncoder[File]
- Definition Classes
- EntityEncoderInstances
-
implicit
val
filePathEncoder: EntityEncoder[Path]
- Definition Classes
- EntityEncoderInstances
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
def
futureEncoder[A](implicit W: EntityEncoder[A], ec: ExecutionContext): EntityEncoder[Future[A]]
- Definition Classes
- EntityEncoderInstances0
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
implicit
def
inputStreamEncoder[A <: InputStream]: EntityEncoder[A]
- Definition Classes
- EntityEncoderInstances
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
multipart: EntityDecoder[Multipart]
- Definition Classes
- EntityDecoderInstances
-
implicit
val
multipartEncoder: EntityEncoder[Multipart]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
naturalTransformationEncoder[F[_], A](implicit N: ~>[F, Task], W: EntityEncoder[A]): EntityEncoder[F[A]]
- Definition Classes
- EntityEncoderInstances0
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
implicit
def
process0Encoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Process0[A]]
- Definition Classes
- EntityEncoderInstances0
-
macro
def
q(d: Double): QValue
Supports a literal syntax for validated QValues.
Supports a literal syntax for validated QValues.
Example:
q(0.5).success == QValue.fromDouble(0.5) q(1.1) // does not compile: out of range val d = 0.5 q(d) // does not compile: not a literal
- Definition Classes
- QValueFunctions
-
implicit
val
qValueOrder: Order[QValue]
- Definition Classes
- QValueInstances
-
implicit
val
qValueShow: Show[QValue]
- Definition Classes
- QValueInstances
-
implicit
def
readerEncoder[A <: Reader](implicit charset: Charset = DefaultCharset): EntityEncoder[A]
- Definition Classes
- EntityEncoderInstances
-
def
removeDotSegments(path: Path): Path
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4
- Definition Classes
- UriFunctions
-
implicit
def
requestSyntax(req: Task[Request]): TaskRequestOps
- Definition Classes
- MessageSyntax
-
def
resolve(base: Uri, reference: Uri): Uri
Resolve a relative Uri reference, per RFC 3986 sec 5.2
Resolve a relative Uri reference, per RFC 3986 sec 5.2
- Definition Classes
- UriFunctions
-
implicit
def
responseSyntax(resp: Task[Response]): TaskResponseOps
- Definition Classes
- MessageSyntax
-
implicit
val
serverSentEventEncoder: EntityEncoder[EventStream]
- Definition Classes
- EntityEncoderInstances
-
def
showEncoder[A](implicit charset: Charset = DefaultCharset, show: Show[A]): EntityEncoder[A]
Encodes a value from its Show instance.
Encodes a value from its Show instance. Too broad to be implicit, too useful to not exist.
- Definition Classes
- EntityEncoderInstances0
-
implicit
def
sourceEncoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Process[Task, A]]
A process encoder is intended for streaming, and does not calculate its bodies in advance.
A process encoder is intended for streaming, and does not calculate its bodies in advance. As such, it does not calculate the Content-Length in advance. This is for use with chunked transfer encoding.
- Definition Classes
- EntityEncoderInstances0
-
implicit
def
stringEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[String]
- Definition Classes
- EntityEncoderInstances
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
taskEncoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Task[A]]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
text(implicit defaultCharset: Charset = DefaultCharset): EntityDecoder[String]
- Definition Classes
- EntityDecoderInstances
-
def
textFile(file: File): EntityDecoder[File]
- Definition Classes
- EntityDecoderInstances
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
implicit
val
unitEncoder: EntityEncoder[Unit]
- Definition Classes
- EntityEncoderInstances
-
macro
def
uri(s: String): Uri
Literal syntax for URIs.
Literal syntax for URIs. Invalid or non-literal arguments are rejected at compile time.
- Definition Classes
- UriFunctions
-
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( ... )