resourceClasspathResource

fun resourceClasspathResource(
    url: URL,
    path: String,
    mimeResolve: (String) -> ContentType
): OutgoingContent?

Attempt to find a local file or a file inside of zip. This is not required but very good to have to improve performance and unnecessary java.io.InputStream creation.