Package-level declarations

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Creates an url using current call's schema, path and parameters as initial

Link copied to clipboard
inline fun Parameters.getOrFail(name: String): String

Get parameters value associated with this name or fail with MissingRequestParameterException

inline fun <R : Any> Parameters.getOrFail(name: String): R

Get parameters value associated with this name converting to type R using DefaultConversionService or fail with MissingRequestParameterException

Link copied to clipboard
inline operator fun <R : Any> Parameters.getValue(thisRef: Any?, property: KProperty<*>): R

Operator function that allows to delegate variables by call parameters. It does conversion to type R using DefaultConversionService

Link copied to clipboard

Process path components such as . and .., replacing redundant path components including all leading. It also discards all reserved characters and component names that are reserved (such as CON, NUL).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun url(block: URLBuilder.() -> Unit): String

Construct a URL

Link copied to clipboard
inline fun ApplicationCall.url(block: URLBuilder.() -> Unit = {}): String

Creates an url using current call's schema, path and parameters as initial and then invokes block function on the url builder so amend parameters