RouteUriPathRouteInput

data class RouteUriPathRouteInput(val activationState: RouteActivationState, val appendSourcePath: Boolean? = null, val includeChildPaths: Boolean? = null, val methods: List<RouteMethod>? = null, val sourcePath: String? = null)

Constructors

Link copied to clipboard
constructor(activationState: RouteActivationState, appendSourcePath: Boolean? = null, includeChildPaths: Boolean? = null, methods: List<RouteMethod>? = null, sourcePath: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If set to ACTIVE , traffic is forwarded to this route’s service after the route is created.

Link copied to clipboard

If set to true , this option appends the source path to the service URL endpoint.

Link copied to clipboard

Indicates whether to match all subpaths of the given source path. If this value is false , requests must match the source path exactly before they are forwarded to this route's service.

Link copied to clipboard
val methods: List<RouteMethod>? = null

A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.

Link copied to clipboard
val sourcePath: String? = null

This is the path that Refactor Spaces uses to match traffic. Paths must start with / and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.