ktor-server-core / io.ktor.http.content / JarFileContent / <init>

<init>

JarFileContent(zipFilePath: Path, resourcePath: String, contentType: ContentType) JarFileContent(jarFile: File, resourcePath: String, contentType: ContentType)

Represents an OutgoingContent for a resource inside a Jar file

Parameters

jarFile - is an instance of File representing a Jar

resourcePath - is an instance of a resource inside a Jar file