statusFile

fun Configuration.statusFile(
    vararg code: HttpStatusCode,
    filePattern: String
): Unit

Register a status page file(s) using filePattern for multiple status code list

Parameters

code - vararg list of status codes handled by this configuration

filePattern - path to status file with optional # character(s) that will be replaced with numeric status code