elasticmagic-kt
0.0.31
common
elasticmagic-transport
/
dev.evo.elasticmagic.transport
/
Request
Request
abstract
class
Request
<
out
BodyT
,
ResponseT
,
out
ResultT
>
Constructors
Functions
Properties
Inheritors
Constructors
Request
Link copied to clipboard
fun
Request
(
)
Functions
deserialize
Response
Link copied to clipboard
abstract
fun
deserializeResponse
(
response
:
PlainResponse
)
:
ResponseT
serialize
Request
Link copied to clipboard
abstract
fun
serializeRequest
(
encoder
:
ContentEncoder
)
Properties
accept
Content
Type
Link copied to clipboard
open
val
acceptContentType
:
String
?
=
null
body
Link copied to clipboard
abstract
val
body
:
BodyT
?
content
Type
Link copied to clipboard
abstract
val
contentType
:
String
error
Serde
Link copied to clipboard
abstract
val
errorSerde
:
Serde
method
Link copied to clipboard
abstract
val
method
:
Method
parameters
Link copied to clipboard
abstract
val
parameters
:
Parameters
path
Link copied to clipboard
abstract
val
path
:
String
process
Response
Link copied to clipboard
abstract
val
processResponse
:
(
ResponseT
)
->
ResultT
Inheritors
ApiRequest
Link copied to clipboard
BulkRequest
Link copied to clipboard
CatRequest
Link copied to clipboard