UrlMap class

URL pattern and description of how the URL should be handled.

App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.

Constructors

UrlMap({ApiEndpointHandler? apiEndpoint, String? authFailAction, String? login, String? redirectHttpResponseCode, ScriptHandler? script, String? securityLevel, StaticFilesHandler? staticFiles, String? urlRegex})
UrlMap.fromJson(Map json_)

Properties

apiEndpoint ApiEndpointHandler?
Uses API Endpoints to handle requests.
getter/setter pair
authFailAction String?
Action to take when users access resources that require authentication.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
login String?
Level of login required to access this resource.
getter/setter pair
redirectHttpResponseCode String?
30x code to use when performing redirects for the secure field.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script ScriptHandler?
Executes a script to handle the requests that match this URL pattern.
getter/setter pair
securityLevel String?
Security (HTTPS) enforcement for this URL. Possible string values are:
getter/setter pair
staticFiles StaticFilesHandler?
Returns the contents of a file, such as an image, as the response.
getter/setter pair
urlRegex String?
URL prefix.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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