HttpRouteMatch

An object that represents the requirements for a route to match HTTP requests for a virtual router.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The client request headers to match on.

Link copied to clipboard

The client request method to match on. Specify only one.

Link copied to clipboard

The client request path to match on.

Link copied to clipboard
val port: Int?

The port number to match on.

Link copied to clipboard

Specifies the path to match requests with. This parameter must always start with /, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.

Link copied to clipboard

The client request query parameters to match on.

Link copied to clipboard

The client request scheme to match on. Specify only one. Applicable only for HTTP2 routes.

Functions

Link copied to clipboard
inline fun copy(block: HttpRouteMatch.Builder.() -> Unit = {}): HttpRouteMatch
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String