statusFile

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

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