ListItemRedirect

data class ListItemRedirect(val includeSubdomains: Boolean? = null, val preservePathSuffix: Boolean? = null, val preserveQueryString: Boolean? = null, val sourceUrl: String, val statusCode: Int? = null, val subpathMatching: Boolean? = null, val targetUrl: String)

Constructors

Link copied to clipboard
constructor(includeSubdomains: Boolean? = null, preservePathSuffix: Boolean? = null, preserveQueryString: Boolean? = null, sourceUrl: String, statusCode: Int? = null, subpathMatching: Boolean? = null, targetUrl: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the redirect also matches subdomains of the source url.

Link copied to clipboard

Whether the redirect target url should keep the query string of the request's url.

Link copied to clipboard

Whether the redirect target url should keep the query string of the request's url.

Link copied to clipboard

The source url of the redirect.

Link copied to clipboard
val statusCode: Int? = null

The status code to be used when redirecting a request.

Link copied to clipboard

Whether the redirect also matches subpaths of the source url.

Link copied to clipboard

The target url of the redirect.