ResponseRedirect class
HTTP response that redirects the browser to a URL.
- Inheritance
- Object
- Response
- ResponseRedirect
Constructors
- ResponseRedirect(String addr, { int status: HttpStatus.seeOther })
- Constructor. [...]
Properties
- contentType ↔ ContentType
-
Content-type of the response.
read / write, inherited
-
Cookies in the response.
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
headers
→ Map<
String, List< String> > -
HTTP headers in the response.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- status ↔ int
-
HTTP status code. [...]
read / write, inherited
Methods
-
Set a cookie. [...]
inherited
-
Delete a cookie.
inherited
-
finish(
Request req) → Future -
Method that is invoked at the end of creating the HTTP response. [...]
inherited
-
header(
String name, String value) → void -
Set a HTML header [...]
inherited
-
headerAdd(
String name, String value) → void -
Set a HTTP header
inherited
-
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
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited