toggle menu
okhttp-parent
5.0.0-SNAPSHOT
jvm
switch theme
search in API
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
?
Functions
get
Header
Link copied to clipboard
fun
getHeader
(
name
:
String
)
:
String
?
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String