object MultipartParser
A low-level multipart-parsing pipe. Most end users will prefer EntityDecoder[Multipart].
- Source
- MultipartParser.scala
- Alphabetic
- By Inheritance
- MultipartParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Out[+A](a: A, tail: Option[ByteVector] = None) extends Product with Serializable
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateHeaders(byteVector: ByteVector)(acc: Headers): Headers
- Annotations
- @tailrec()
- def generatePart(byteVector: ByteVector): (Headers, ByteVector)
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
- def parse(boundary: Boundary, headerLimit: Long = 40 * 1024): Pipe[Task, Byte, Either[Headers, ByteVector]]
-
def
parseToParts(byteVector: ByteVector)(boundary: Boundary): Task[ByteVector]
parseToParts - Removes Prelude and Trailer
parseToParts - Removes Prelude and Trailer
splitParts - Splits Into Parts splitPart - Takes a Single Part of the Front generatePart - Generates a tuple of Headers and a ByteVector of the Body, effectively a Part
generateHeaders - Generate Headers from ByteVector splitHeader - Splits a Header into the Name and Value
- def splitHeader(byteVector: ByteVector): Option[(ByteVector, ByteVector)]
- def splitPart(byteVector: ByteVector)(boundary: Boundary): Option[(ByteVector, ByteVector)]
-
def
splitParts(byteVector: ByteVector)(boundary: Boundary)(acc: List[Either[Headers, ByteVector]]): List[Either[Headers, ByteVector]]
- Annotations
- @tailrec()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )