toggle menu
sdk-java
2.0.0
jvm
switch theme
search in API
common
/
dev.restate.common
/
Request
Request
interface
Request
<
Req
,
Res
>
Interface encapsulating request parameters.
Parameters
<Req>
the request type
<Res>
the response type
Inheritors
WorkflowRequest
RequestBuilder
Members
Functions
get
Headers
Link copied to clipboard
@
Nullable
abstract
fun
getHeaders
(
)
:
@
Nullable
Map
<
String
,
String
>
get
Idempotency
Key
Link copied to clipboard
@
Nullable
abstract
fun
getIdempotencyKey
(
)
:
@
Nullable
String
get
Request
Link copied to clipboard
abstract
fun
getRequest
(
)
:
Req
get
Request
Type
Tag
Link copied to clipboard
abstract
fun
getRequestTypeTag
(
)
:
TypeTag
<
Req
>
get
Response
Type
Tag
Link copied to clipboard
abstract
fun
getResponseTypeTag
(
)
:
TypeTag
<
Res
>
get
Target
Link copied to clipboard
abstract
fun
getTarget
(
)
:
Target
of
Link copied to clipboard
open
fun
of
(
target
:
Target
,
request
:
Array
<
Byte
>
)
:
RequestBuilder
<
Array
<
Byte
>
,
Array
<
Byte
>
>
Create a new
RequestBuilder
for the given
Target
and
request
byte array.
open
fun
<
Req
,
Res
>
of
(
target
:
Target
,
reqTypeTag
:
TypeTag
<
Req
>
,
resTypeTag
:
TypeTag
<
Res
>
,
request
:
Req
)
:
RequestBuilder
<
Req
,
Res
>
Create a new
RequestBuilder
for the given
Target
, request and response and
request
object.