HTTPGetAction class
HTTPGetAction describes an action based on HTTP Get requests.
Constructors
-
HTTPGetAction({Input<
String> ? host, Input<List< ? httpHeaders, Input<HTTPHeader> >String> ? path, required Input<int> port, Input<String> ? scheme}) -
Creates a new HTTPGetAction.
hostHost name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.httpHeadersCustom headers to set in the request. HTTP allows repeated headers.pathPath to access on the HTTP server.portName 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.schemeScheme to use for connecting to the host. Defaults to HTTP.const -
HTTPGetAction.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
host
→ Input<
String> ? -
Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
final
-
httpHeaders
→ Input<
List< ?HTTPHeader> > -
Custom headers to set in the request. HTTP allows repeated headers.
final
-
path
→ Input<
String> ? -
Path to access on the HTTP server.
final
-
port
→ Input<
int> -
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
→ Input<
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited