common-plugin / com.cognifide.gradle.common.file.transfer.http / HttpFileTransfer

HttpFileTransfer

class HttpFileTransfer : ProtocolFileTransfer

Constructors

<init>

HttpFileTransfer(common: CommonExtension)

Properties

name

Unique identifier.

val name: String

protocols

val protocols: List<String>

Functions

client

fun client(options: HttpClient.() -> Unit): Unit

downloadFrom

Downloads file with given name from directory available at specified URL.

fun downloadFrom(dirUrl: String, fileName: String, target: File): Unit

Companion Object Properties

NAME

const val NAME: String