PostDecoder

class PostDecoder(req: HttpRequest, useDisk: Boolean)
A PostDecoder wraps a HttpPostRequestDecoder.
Companion
object
class Object
trait Matchable
class Any

Value members

Methods

def offer(chunk: HttpContent): Option[InterfaceHttpPostRequestDecoder]
Add a received HttpContent to the decoder
def cleanFiles(): Option[Unit]
Clean all HttpDatas (on Disk) for the current request
def destroy(): Option[Unit]
Release underlying resources. this should cleanFiles, undecodedChunk, release bodyListHttpData.
Once called, this decoder's behavior is undefined. (should submit patch to netty project to check decoder.isDestoryed)

Fields

lazy val isMultipart: Boolean
Whether the request is multi-part
lazy val items: List[InterfaceHttpData]
Returns a collection containing all the parts of the parsed request
lazy val fileUploads: List[FileUpload]
Returns a collection of uploaded files found in the parsed request
lazy val parameters: List[Attribute]
Returns a collection of all the parts excluding file uploads from the parsed request