toggle menu
sdk-java
2.0.0
jvm
switch theme
search in API
common
/
dev.restate.common
/
WorkflowRequest
Workflow
Request
interface
WorkflowRequest
<
Req
,
Res
>
:
Request
<
Req
,
Res
>
Workflow handler request.
Inheritors
WorkflowRequestBuilder
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.