MappedRouteParameter
@Serializable
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 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
The mapping rules as a string.