toggle menu
kotlin-jupyter-kernel
0.12.0-335
jvm
switch theme
search in API
common-dependencies
/
org.jetbrains.kotlinx.jupyter.common
/
ResponseWrapper
Response
Wrapper
class
ResponseWrapper
(
response
:
Response
,
val
url
:
String
)
:
Response
Members
Members & Extensions
Constructors
Response
Wrapper
Link copied to clipboard
constructor
(
response
:
Response
,
url
:
String
)
Properties
json
Link copied to clipboard
val
ResponseWrapper
.
json
:
JsonElement
json
Array
Link copied to clipboard
val
ResponseWrapper
.
jsonArray
:
JsonArray
json
Array
Or
Null
Link copied to clipboard
val
ResponseWrapper
.
jsonArrayOrNull
:
JsonArray
?
json
Object
Link copied to clipboard
val
ResponseWrapper
.
jsonObject
:
JsonObject
json
Object
Or
Null
Link copied to clipboard
val
ResponseWrapper
.
jsonObjectOrNull
:
JsonObject
?
json
Or
Null
Link copied to clipboard
val
ResponseWrapper
.
jsonOrNull
:
JsonElement
?
status
Link copied to clipboard
open
override
val
status
:
Status
text
Link copied to clipboard
open
override
val
text
:
String
url
Link copied to clipboard
val
url
:
String
Functions
assert
Successful
Link copied to clipboard
fun
ResponseWrapper
.
assertSuccessful
(
)
decode
Json
Link copied to clipboard
inline
fun
<
T
>
ResponseWrapper
.
decodeJson
(
)
:
T
decode
Json
If
Successful
Or
Null
Link copied to clipboard
inline
fun
<
T
>
ResponseWrapper
.
decodeJsonIfSuccessfulOrNull
(
)
:
T
?