sunday
1.0.0-beta.18
sunday-jdk
/
io.outfoxx.sunday.jdk
/
JdkResponse
Jdk
Response
class
JdkResponse
(
response
:
HttpResponse
<
BufferedSource
>
,
httpClient
:
HttpClient
)
:
Response
JDK11 HTTP Client implementation of
Response
based on
HttpResponse
.
Constructors
Properties
Constructors
Jdk
Response
Link copied to clipboard
fun
JdkResponse
(
response
:
HttpResponse
<
BufferedSource
>
,
httpClient
:
HttpClient
)
Properties
body
Link copied to clipboard
open
override
val
body
:
BufferedSource
?
headers
Link copied to clipboard
open
override
val
headers
:
Headers
reason
Phrase
Link copied to clipboard
open
override
val
reasonPhrase
:
String
?
request
Link copied to clipboard
open
override
val
request
:
Request
status
Code
Link copied to clipboard
open
override
val
statusCode
:
Int
trailers
Link copied to clipboard
open
override
val
trailers
:
Headers
?