Description

Parse encoded request body data. Enables Json and XML request payloads to be parsed into the request`s body. You can also add your own request body parsers using the `addParser()` method.

Properties

Methods

InheritedAbstractFinalStaticDatatypeHeader
IClosure[]IClosure[] getParsers()
this(Json[string]this(Json[string] options = null)
voidvoid methods(string[] httpMethods)
string[]string[] methods()
Json[string]Json[string] decodeXml(string bodyToDecode)
voidvoid addParser(Json[string] contentTypeHeaders, Closure parserFunction)
IResponseIResponse process(IServerRequest serverRequest, IRequestHandler requestHandler)
Json[string]Json[string] decodeJson(string bodyToDecode)