MappedRouteParameter

@Serializable
internal data class MappedRouteParameter(val path: String, val originalRoute: OriginalRouteParameter, val method: MiddlewareHttpMethods, val preConfiguredQueries: Map<String, String> = mapOf(), val preConfiguredHeaders: Map<String, String> = originalRoute.headers, val preConfiguredBody: JsonObject? = originalRoute.body, val rulesAsString: JsonObject?)

Data class representing a mapped route.

Constructors

Link copied to clipboard
constructor(path: String, originalRoute: OriginalRouteParameter, method: MiddlewareHttpMethods, preConfiguredQueries: Map<String, String> = mapOf(), preConfiguredHeaders: Map<String, String> = originalRoute.headers, preConfiguredBody: JsonObject? = originalRoute.body, rulesAsString: JsonObject?)

Properties

Link copied to clipboard

The HTTP method of the mapped route.

Link copied to clipboard

The original route.

Link copied to clipboard

The path of the mapped route.

Link copied to clipboard
val preConfiguredBody: JsonObject?

The pre-configured body of the mapped route.

Link copied to clipboard

The pre-configured headers of the mapped route.

Link copied to clipboard

The pre-configured queries of the mapped route.

Link copied to clipboard
val rulesAsString: JsonObject?

The mapping rules as a string.

Functions

Link copied to clipboard