trait Http4s extends Http4sInstances with Http4sFunctions with AllSyntax
- Alphabetic
- By Inheritance
- Http4s
- AllSyntax
- TaskRequestSyntax
- TaskResponseSyntax
- StringSyntax
- ServiceSyntax
- Http4sFunctions
- UriFunctions
- QValueFunctions
- Http4sInstances
- StatusInstances
- MethodInstances
- QValueInstances
- CharsetRangeInstances
- EntityEncoderInstances
- EntityEncoderInstances0
- HttpVersionInstances
- EntityDecoderInstances
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- 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 +(other: String): String
- def ->[B](y: B): (Http4s, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
val
CharacterSetEqual: Eq[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 Eq[Method]
- Definition Classes
- MethodInstances
-
implicit
val
StatusOrder: Order[Status]
- Definition Classes
- StatusInstances
-
implicit
val
StatusShow: Show[Status]
- Definition Classes
- StatusInstances
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
binFile(file: File): EntityDecoder[File]
- Definition Classes
- EntityDecoderInstances
-
implicit
val
binary: EntityDecoder[Chunk[Byte]]
- Definition Classes
- EntityDecoderInstances
-
implicit
val
byteArrayEncoder: EntityEncoder[Array[Byte]]
- Definition Classes
- EntityEncoderInstances
-
implicit
def
charArrayEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[Array[Char]]
- Definition Classes
- EntityEncoderInstances
-
implicit
val
chunkEncoder: EntityEncoder[Chunk[Byte]]
- Definition Classes
- EntityEncoderInstances
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
emptyEncoder[A]: EntityEncoder[A]
- Definition Classes
- EntityEncoderInstances0
- def ensuring(cond: (Http4s) ⇒ Boolean, msg: ⇒ Any): Http4s
- def ensuring(cond: (Http4s) ⇒ Boolean): Http4s
- def ensuring(cond: Boolean, msg: ⇒ Any): Http4s
- def ensuring(cond: Boolean): Http4s
-
implicit
def
entityBodyEncoder: EntityEncoder[EntityBody]
Encodes an entity body.
Encodes an entity body. Chunking of the stream is preserved. A
Transfer-Encoding: chunked
header is set, as we cannot know the content length without running the stream.- Definition Classes
- EntityEncoderInstances
-
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] )
- def formatted(fmtstr: String): String
-
implicit
def
futureEncoder[A](implicit W: EntityEncoder[A], ec: ExecutionContext): EntityEncoder[Future[A]]
- Definition Classes
- EntityEncoderInstances0
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
def
http4sServiceSyntax[A](service: Service[A, MaybeResponse]): ServiceOps[A]
- Definition Classes
- ServiceSyntax
-
implicit
def
http4sStringSyntax(s: String): StringOps
- Definition Classes
- StringSyntax
-
implicit
def
http4sTaskRequestSyntax(req: Task[Request]): TaskRequestOps
- Definition Classes
- TaskRequestSyntax
-
implicit
def
http4sTaskResponseSyntax(resp: Task[Response]): TaskResponseOps
- Definition Classes
- TaskResponseSyntax
-
implicit
def
inputStreamEncoder[A <: InputStream]: EntityEncoder[Eval[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
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
def
pureStreamEncoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Stream[Nothing, 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[Task[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
-
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
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[Stream[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
-
implicit
val
void: EntityDecoder[Unit]
An entity decoder that ignores the content and returns unit.
An entity decoder that ignores the content and returns unit.
- Definition Classes
- EntityDecoderInstances
-
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
- @native() @throws( ... )
- def →[B](y: B): (Http4s, B)