FieldToMatch class
The part of a web request that you want AWS WAF to inspect. Include the
single
FieldToMatch
type that you want to inspect, with
additional specifications as needed, according to the type. You specify a
single request component in FieldToMatch
for each rule
statement that requires it. To inspect more than one component of a web
request, create a separate rule statement for each component.
Constructors
- FieldToMatch({AllQueryArguments? allQueryArguments, Body? body, Method? method, QueryString? queryString, SingleHeader? singleHeader, SingleQueryArgument? singleQueryArgument, UriPath? uriPath})
-
FieldToMatch.fromJson(Map<
String, dynamic> json) -
factory
Properties
- allQueryArguments → AllQueryArguments?
-
Inspect all query arguments.
final
- body → Body?
-
Inspect the request body, which immediately follows the request headers.
This is the part of a request that contains any additional data that you
want to send to your web server as the HTTP request body, such as data from
a form.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → Method?
-
Inspect the HTTP method. The method indicates the type of operation that the
request is asking the origin to perform.
final
- queryString → QueryString?
-
Inspect the query string. This is the part of a URL that appears after a
?
character, if any.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleHeader → SingleHeader?
-
Inspect a single header. Provide the name of the header to inspect, for
example,
User-Agent
orReferer
. This setting isn't case sensitive.final - singleQueryArgument → SingleQueryArgument?
-
Inspect a single query argument. Provide the name of the query argument to
inspect, such as UserName or SalesRegion. The name can be up
to 30 characters long and isn't case sensitive.
final
- uriPath → UriPath?
-
Inspect the request URI path. This is the part of a web request that
identifies a resource, for example,
/images/daily-ad.jpg
.final
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