okhttp-parent
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
okhttp-parent
mockwebserver
/
okhttp3.mockwebserver
/
RecordedRequest
Recorded
Request
class
RecordedRequest
Members
Constructors
Recorded
Request
Link copied to clipboard
@
JvmOverloads
constructor
(
requestLine
:
String
,
headers
:
Headers
,
chunkSizes
:
List
<
Int
>
,
bodySize
:
Long
,
body
:
Buffer
,
sequenceNumber
:
Int
,
socket
:
Socket
,
failure
:
IOException
?
=
null
)
Properties
body
Link copied to clipboard
val
body
:
Buffer
body
Size
Link copied to clipboard
val
bodySize
:
Long
chunk
Sizes
Link copied to clipboard
val
chunkSizes
:
List
<
Int
>
failure
Link copied to clipboard
val
failure
:
IOException
?
handshake
Link copied to clipboard
val
handshake
:
Handshake
?
headers
Link copied to clipboard
val
headers
:
Headers
method
Link copied to clipboard
val
method
:
String
?
path
Link copied to clipboard
val
path
:
String
?
request
Line
Link copied to clipboard
val
requestLine
:
String
request
Url
Link copied to clipboard
val
requestUrl
:
HttpUrl
?
sequence
Number
Link copied to clipboard
val
sequenceNumber
:
Int
tls
Version
Link copied to clipboard
val
tlsVersion
:
TlsVersion
?
utf8Body
Link copied to clipboard
@get:
JvmName
(
name
=
"-deprecated_utf8Body"
)
val
utf8Body
:
String
Functions
get
Header
Link copied to clipboard
fun
getHeader
(
name
:
String
)
:
String
?
get
Utf8Body
Link copied to clipboard
fun
getUtf8Body
(
)
:
String
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String