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()
UrlMap.fromJson(Map _json)

Properties

apiEndpoint ApiEndpointHandler
Uses API Endpoints to handle requests.
read / write
authFailAction ↔ String
Action to take when users access resources that require authentication. Defaults to redirect. Possible string values are: [...]
read / write
login ↔ String
Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment. Possible string values are: [...]
read / write
redirectHttpResponseCode ↔ String
30x code to use when performing redirects for the secure field. Defaults to 302. Possible string values are: [...]
read / write
script ScriptHandler
Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".
read / write
securityLevel ↔ String
Security (HTTPS) enforcement for this URL. Possible string values are: [...]
read / write
staticFiles StaticFilesHandler
Returns the contents of a file, such as an image, as the response.
read / write
urlRegex ↔ String
URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.
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

Methods

toJson() → Map<String, Object>
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