Constructors

Response(Request request)

Properties

acceptedMethods → List<String>

read / write
body → String

read / write
headers → Map<String, String>

read / write
isEmpty → bool

read-only
request Request

read / write
statusCode → int

read / write
hashCode → int

The hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

error(int code, [ body ]) → void

forbidden([body ]) → void

getTargetPage([body ]) → Future

handle() → Future

handleWith(RequestHandler h) → void

notFound([body ]) → void

ok(body) → void

preprocessBody(body) → String

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited