Configuration
Status pages feature config
Constructors
Functions
Link copied to clipboard
inline fun <T : Throwable> exception(noinline handler: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit)
Content copied to clipboard
fun <T : Throwable> exception(klass: Class<T>, handler: suspend PipelineContext<Unit, ApplicationCall>.(T) -> Unit)
Content copied to clipboard
Link copied to clipboard
fun status(vararg status: HttpStatusCode, handler: suspend PipelineContext<*, ApplicationCall>.(HttpStatusCode) -> Unit)
Content copied to clipboard
Properties
Link copied to clipboard
val exceptions: MutableMap<Class<*>, suspend PipelineContext<*, ApplicationCall>.(Throwable) -> Unit>
Content copied to clipboard
Link copied to clipboard
val statuses: MutableMap<HttpStatusCode, suspend PipelineContext<*, ApplicationCall>.(HttpStatusCode) -> Unit>
Content copied to clipboard
Extensions
Link copied to clipboard
fun StatusPages.Configuration.statusFile(vararg code: HttpStatusCode, filePattern: String)
Content copied to clipboard
Register a status page file(s) using filePattern for multiple status code list