org.http4s.multipart
This package is the start of a multipart implementation for http4s. It is still deficient in a few ways:
- All encoding is chunked transfers, except for entities small enough to fit into the blaze buffer. This irritates some server implementations.
- When decoding, chunks are kept in memory. Large ones should be buffered to a temp file.
- It's a bit handwavy around character sets. Things probably go horribly wrong if you're not UTF-8.
- This module is lightly tested, and its API should be considered experimental.
Enter this package at your own risk, but we'd love the feedback.
Attributes
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Source
- Boundary.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Boundary.scala
- Supertypes
- Self type
-
Boundary.type
Create a new multipart from a vector of parts and a boundary.
Create a new multipart from a vector of parts and a boundary.
To create Multipart values from a generated boundary, see the Multiparts algebra.
Attributes
- Source
- Multipart.scala
- Supertypes
A low-level multipart-parsing pipe.
A low-level multipart-parsing pipe. Most end users will prefer EntityDecoder[Multipart].
Attributes
- Source
- MultipartParser.scala
- Supertypes
- Self type
-
MultipartParser.type
An algebra for creating multipart values and boundaries.
An algebra for creating multipart values and boundaries.
A single instance may be shared by the entire application.
Attributes
- Companion
- object
- Source
- Multiparts.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- Multiparts.scala
- Supertypes
- Self type
-
Multiparts.type
Attributes
- Companion
- object
- Source
- Part.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Media[F]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Part.scala
- Supertypes
- Self type
-
Part.type