ContextRequest class

Constructors

ContextRequest(HttpRequest _request, Method requestMethod)

Properties

certificate X509Certificate?
no setter
cookies List<Cookie>
no setter
hasContentType bool
no setter
hashCode int
The hash code for this object.
no setterinherited
input HttpRequest
no setter
isForwarded bool
no setter
method String
no setter
params Map<String?, String?>?
getter/setter pair
path String
no setter
query Map<String, String>
no setter
requestMethod Method
final
response ↔ ContextResponse?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session HttpSession
no setter
uri Uri
no setter

Methods

accepts(String type) bool
isMime(String type, {bool loose = true}) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
param(String name) String?
payload({Encoding encoder = utf8}) Future<Map?>
Get the payload (body)
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(MimeMultipart multipart, {Encoding defaultEncoding = utf8}) HttpMultipartFormData