RouteSpecHttpRouteMatch class
Constructors
-
RouteSpecHttpRouteMatch({Input<String?>? method, Input<RouteSpecHttpRouteMatchPath?>? path, Input<int?>? port, Input<String?>? prefix, Input<List<RouteSpecHttpRouteMatchQueryParameter>?>? queryParameters, Input<String?>? scheme})
-
Creates a new RouteSpecHttpRouteMatch.
headers Client request headers to match on. See spec.http_route.match.header Block for details.
method Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
path Client request path to match on. See spec.http_route.match.path Block for details.
port Port number to match from the request.
prefix Header value sent by the client must begin with the specified characters.
queryParameters Client request query parameters to match on. See spec.http_route.match.query_parameter Block for details.
scheme Client request header scheme to match on. Valid values: http, https.
const
-
RouteSpecHttpRouteMatch.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Client request headers to match on. See
spec.http_route.match.header Block for details.
final
-
method
→ Input<String?>?
-
Client request header method to match on. Valid values:
GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.
final
-
path
→ Input<RouteSpecHttpRouteMatchPath?>?
-
Client request path to match on. See
spec.http_route.match.path Block for details.
final
-
port
→ Input<int?>?
-
Port number to match from the request.
final
-
prefix
→ Input<String?>?
-
Header value sent by the client must begin with the specified characters.
final
-
queryParameters
→ Input<List<RouteSpecHttpRouteMatchQueryParameter>?>?
-
Client request query parameters to match on. See
spec.http_route.match.query_parameter Block for details.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scheme
→ Input<String?>?
-
Client request header scheme to match on. Valid values:
http, https.
final