//mockwebserver/okhttp3.mockwebserver/RecordedRequest
RecordedRequest¶
[jvm]\ class RecordedRequest
Constructors¶
RecordedRequest | [jvm] @JvmOverloads fun RecordedRequest(requestLine: String, headers: Headers, chunkSizes: List<Int>, bodySize: Long, body: Buffer, sequenceNumber: Int, socket: Socket, failure: IOException? = null) |
Functions¶
Name | Summary |
---|---|
getHeader | [jvm] fun getHeader(name: String): String? |
toString | [jvm] open override fun toString(): String |
Properties¶
Name | Summary |
---|---|
body | [jvm] val body: Buffer |
bodySize | [jvm] val bodySize: Long |
chunkSizes | [jvm] val chunkSizes: List<Int> |
failure | [jvm] val failure: IOException? |
handshake | [jvm] val handshake: Handshake? |
headers | [jvm] val headers: Headers |
method | [jvm] val method: String? |
path | [jvm] val path: String? |
requestLine | [jvm] val requestLine: String |
requestUrl | [jvm] val requestUrl: HttpUrl? |
sequenceNumber | [jvm] val sequenceNumber: Int |
tlsVersion | [jvm] val tlsVersion: TlsVersion? |