RouteSpecHttpRouteMatch

data class RouteSpecHttpRouteMatch(val headers: List<RouteSpecHttpRouteMatchHeader>? = null, val method: String? = null, val path: RouteSpecHttpRouteMatchPath? = null, val port: Int? = null, val prefix: String? = null, val queryParameters: List<RouteSpecHttpRouteMatchQueryParameter>? = null, val scheme: String? = null)

Constructors

Link copied to clipboard
constructor(headers: List<RouteSpecHttpRouteMatchHeader>? = null, method: String? = null, path: RouteSpecHttpRouteMatchPath? = null, port: Int? = null, prefix: String? = null, queryParameters: List<RouteSpecHttpRouteMatchQueryParameter>? = null, scheme: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Client request headers to match on.

Link copied to clipboard
val method: String? = null

Client request header method to match on. Valid values: GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH.

Link copied to clipboard

Client request path to match on.

Link copied to clipboard
val port: Int? = null

The port number to match from the request.

Link copied to clipboard
val prefix: String? = null

Value sent by the client must begin with the specified characters. Must be between 1 and 255 characters in length. This parameter must always start with /, which by itself matches all requests to the virtual router service name.

Link copied to clipboard

Client request query parameters to match on.

Link copied to clipboard
val scheme: String? = null

Client request header scheme to match on. Valid values: http, https.