maven-central-portal-kotlin-api
Toggle table of contents
2.4.2
common
Platform filter
common
Switch theme
Search in API
maven-central-portal-kotlin-api
maven-central-portal-kotlin-api
/
org.danilopianini.centralpublisher.impl.infrastructure
/
HttpResponse
Http
Response
open
class
HttpResponse
<
T
:
Any
>
(
val
response
:
HttpResponse
,
val
provider
:
BodyProvider
<
T
>
)
Members
Members & Extensions
Constructors
Http
Response
Link copied to clipboard
constructor
(
response
:
HttpResponse
,
provider
:
BodyProvider
<
T
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
List
<
String
>
>
provider
Link copied to clipboard
val
provider
:
BodyProvider
<
T
>
response
Link copied to clipboard
val
response
:
HttpResponse
status
Link copied to clipboard
val
status
:
Int
success
Link copied to clipboard
val
success
:
Boolean
Functions
body
Link copied to clipboard
suspend
fun
body
(
)
:
T
map
Link copied to clipboard
fun
<
T
:
Any
,
V
:
Any
>
HttpResponse
<
T
>
.
map
(
block
:
T
.
(
)
->
V
)
:
HttpResponse
<
V
>
typed
Body
Link copied to clipboard
suspend
fun
<
V
:
Any
>
typedBody
(
type
:
TypeInfo
)
:
V