AppEngineHttpTarget class

App Engine target.

The job will be pushed to a job handler by means of an HTTP request via an http_method such as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an HTTP response code in the range [200 - 299]. Error 503 is considered an App Engine system error instead of an application error. Requests returning error 503 will be retried regardless of retry configuration and not counted against retry counts. Any other response code, or a failure to receive a response before the deadline, constitutes a failed attempt.

Constructors

AppEngineHttpTarget({AppEngineRouting? appEngineRouting, String? body, Map<String, String>? headers, String? httpMethod, String? relativeUri})
AppEngineHttpTarget.fromJson(Map json_)

Properties

appEngineRouting AppEngineRouting?
App Engine Routing setting for the job.
getter/setter pair
body String?
Body.
getter/setter pair
bodyAsBytes List<int>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
HTTP request headers.
getter/setter pair
httpMethod String?
The HTTP method to use for the request.
getter/setter pair
relativeUri String?
The relative URI.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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