HttpRequestPort

Properties

Link copied to clipboard
abstract val accept: List<ContentType>
Link copied to clipboard
Link copied to clipboard
abstract val body: Any
Link copied to clipboard
abstract val certificateChain: List<X509Certificate>
Link copied to clipboard
abstract val contentLength: Long
Link copied to clipboard
abstract val contentType: ContentType?
Link copied to clipboard
abstract val cookies: List<Cookie>
Link copied to clipboard
Link copied to clipboard
abstract val headers: Headers
Link copied to clipboard
abstract val host: String
Link copied to clipboard
abstract val method: HttpMethod
Link copied to clipboard
abstract val parts: List<HttpPart>
Link copied to clipboard
abstract val path: String
Link copied to clipboard
abstract val port: Int
Link copied to clipboard
abstract val protocol: HttpProtocol
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun bodyString(): String
Link copied to clipboard
open fun certificate(): X509Certificate?
Link copied to clipboard
open fun cookiesMap(): Map<String, Cookie>
Link copied to clipboard
open fun origin(): String?
Link copied to clipboard
open fun partsMap(): Map<String, HttpPart>
Link copied to clipboard
open operator fun plus(cookie: Cookie): HttpRequestPort
open operator fun plus(formParameter: FormParameter): HttpRequestPort
open operator fun plus(formParameters: FormParameters): HttpRequestPort
open operator fun plus(header: Header): HttpRequestPort
open operator fun plus(headers: Headers): HttpRequestPort
open operator fun plus(part: HttpPart): HttpRequestPort
open operator fun plus(queryParameter: QueryParameter): HttpRequestPort
open operator fun plus(queryParameters: QueryParameters): HttpRequestPort
open operator fun plus(parts: List<HttpPart>): HttpRequestPort
Link copied to clipboard
open fun referer(): String?
Link copied to clipboard
open fun url(): URL
Link copied to clipboard
open fun userAgent(): String?
Link copied to clipboard
abstract fun with(body: Any = this.body, headers: Headers = this.headers, contentType: ContentType? = this.contentType, method: HttpMethod = this.method, protocol: HttpProtocol = this.protocol, host: String = this.host, port: Int = this.port, path: String = this.path, queryParameters: QueryParameters = this.queryParameters, parts: List<HttpPart> = this.parts, formParameters: FormParameters = this.formParameters, cookies: List<Cookie> = this.cookies, accept: List<ContentType> = this.accept, authorization: Authorization? = this.authorization, certificateChain: List<X509Certificate> = this.certificateChain): HttpRequestPort