interface ConversionService
Data conversion service that does serialization and deserialization to/from list of strings |
|
class CopyOnWriteHashMap<K : Any, V : Any>
This is an internal implementation for copy-on-write concurrent map. It is very limited since it is not intended as general purpose implementation. |
|
object DefaultConversionService : ConversionService
The default conversion service that supports only basic types and enums |
|
class DispatcherWithShutdown : CoroutineDispatcher
Specialized dispatcher useful for graceful shutdown |
class DataConversionException : Exception
Thrown when failed to convert value |
val GreenwichMeanTime: ZoneId
ZoneId for GMT |
fun Parameters.getOrFail(name: String): String
Get parameters value associated with this name or fail with MissingRequestParameterException |
|
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 |
|
fun url(block: URLBuilder.() -> Unit): String
Construct a URL 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 |
fun URLBuilder.Companion.createFromCall(call: ApplicationCall): URLBuilder
Creates an url using current call's schema, path and parameters as initial |