HTTPGetAction class

HTTPGetAction describes an action based on HTTP Get requests.

Constructors

HTTPGetAction({String? host, List<HTTPHeader>? httpHeaders, String? path, required IntOrString port, String? scheme})
Default constructor.
const
HTTPGetAction.fromJson(Map<String, dynamic> json)
Creates a HTTPGetAction from JSON data.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
host String?
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
final
httpHeaders List<HTTPHeader>?
Custom headers to set in the request. HTTP allows repeated headers.
final
path String?
Path to access on the HTTP server.
final
port IntOrString
Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme String?
Scheme to use for connecting to the host. Defaults to HTTP.
final

Methods

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

Operators

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